Skip to content

Fix VectorMeasurementSchema stream deserialization - #941

Merged
JackieTien97 merged 1 commit into
developfrom
ty/fix-vector-schema-stream-deserialization
Sep 4, 2026
Merged

Fix VectorMeasurementSchema stream deserialization#941
JackieTien97 merged 1 commit into
developfrom
ty/fix-vector-schema-stream-deserialization

Conversation

@JackieTien97

Copy link
Copy Markdown
Contributor

Summary

  • fix VectorMeasurementSchema.deserializeFrom(InputStream) to read the complete time/value compressor list
  • preserve unified-compressor behavior and reject truncated per-column compressor data
  • add regression coverage for round trips, short reads, and truncated streams

Compatibility

  • no public API or serialized-format changes
  • valid existing serialized schemas remain readable
  • streams with truncated compressor data now fail fast instead of being accepted or decoded incorrectly

Testing

  • ./mvnw test -P with-java -pl java/tsfile -am

@JackieTien97
JackieTien97 merged commit c373649 into develop Sep 4, 2026
18 checks passed
@JackieTien97
JackieTien97 deleted the ty/fix-vector-schema-stream-deserialization branch September 4, 2026 07:58
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.81%. Comparing base (4ea5ed5) to head (6149412).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #941      +/-   ##
===========================================
+ Coverage    61.67%   61.81%   +0.14%     
===========================================
  Files          747      747              
  Lines        51883    51885       +2     
  Branches      8437     8436       -1     
===========================================
+ Hits         32000    32075      +75     
+ Misses       18255    18182      -73     
  Partials      1628     1628              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants