New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor chunk reader #680
Conversation
tsfile/src/test/java/org/apache/iotdb/tsfile/read/reader/PageReaderTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is just refactor codes.. So, I think there is no more issues.
currentChunkMetaDataList = tsFileResource.getChunkMetaDataList(); | ||
} | ||
|
||
// get modifications and apply to chunk metadatas | ||
List<Modification> pathModifications = context |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need a ut?
Or, in logical, can the PathModifications file be read before the data file is sealed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no bug, I have added some test and comment
Remove hasNext() and only keep one getData in PageReader.
Remove unused parameter in BatchData