Skip to content

Conversation

@jt2594838
Copy link
Contributor

As the title declares

@codecov-commenter
Copy link

codecov-commenter commented May 20, 2025

Codecov Report

Attention: Patch coverage is 70.53942% with 71 lines in your changes missing coverage. Please review.

Project coverage is 65.78%. Comparing base (dd603b4) to head (487688d).
Report is 22 commits behind head on develop.

Files with missing lines Patch % Lines
...rg/apache/tsfile/read/reader/TsFileLastReader.java 76.42% 33 Missing ⚠️
...a/org/apache/tsfile/read/TsFileSequenceReader.java 65.00% 28 Missing ⚠️
...sfile/file/metadata/statistics/TimeStatistics.java 0.00% 4 Missing ⚠️
...pache/tsfile/file/metadata/TimeseriesMetadata.java 62.50% 3 Missing ⚠️
...in/java/org/apache/tsfile/write/record/Tablet.java 57.14% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #498      +/-   ##
===========================================
+ Coverage    65.71%   65.78%   +0.06%     
===========================================
  Files          565      566       +1     
  Lines        33062    33291     +229     
  Branches      4611     4651      +40     
===========================================
+ Hits         21728    21899     +171     
- Misses       10684    10742      +58     
  Partials       650      650              

☔ View full report in Codecov by Sentry.
📢 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.

jt2594838 added 2 commits May 21, 2025 16:32
(cherry picked from commit 3ab6c40)
(cherry picked from commit 1f70820)
return new MeasurementSchema(measurementUid, tsDataType, encoding, compressionType);
}

public TSEncoding getEncoding() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method is not used and it may lead to the wrong way of using it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

TsPrimitiveType.getByType(seriesMeta.getTsDataType(),
seriesMeta.getStatistics().getLastValue())));
} else {
ChunkMetadata chunkMetadata = (ChunkMetadata) seriesMeta.getChunkMetadataList()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The last chunk could be an empty chunk

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@jt2594838 jt2594838 merged commit 3a688ee into develop May 23, 2025
22 checks passed
@HTHou HTHou deleted the add_last_reader branch May 26, 2025 01:51
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.

3 participants