Skip to content
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

Merged
merged 7 commits into from Dec 27, 2019
Merged

refactor chunk reader #680

merged 7 commits into from Dec 27, 2019

Conversation

qiaojialin
Copy link
Member

@qiaojialin qiaojialin commented Dec 26, 2019

Remove hasNext() and only keep one getData in PageReader.
Remove unused parameter in BatchData

Copy link
Member

@jixuan1989 jixuan1989 left a 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
Copy link
Member

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?

Copy link
Member Author

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

@qiaojialin qiaojialin merged commit ba76c4b into master Dec 27, 2019
@qiaojialin qiaojialin deleted the chunk_reader_2 branch December 27, 2019 03:02
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.

None yet

3 participants