-
Notifications
You must be signed in to change notification settings - Fork 80
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
fix: Added support to read parquet files with empty row groups #6183
fix: Added support to read parquet files with empty row groups #6183
Conversation
@@ -197,6 +197,10 @@ private RowSet computeIndex() { | |||
|
|||
for (int rgi = 0; rgi < rowGroups.length; ++rgi) { | |||
final long subRegionSize = rowGroups[rgi].getNum_rows(); | |||
if (subRegionSize == 0) { |
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.
Does this address empty row groups in the middle of a file? It sort of looks like it does.
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.
Yes, it does, verified by generating such a file, added a test for it.
Branch used for generating test data in this PR: https://github.com/malhotrashivam/deephaven-core/tree/sm-ref-branch |
Closes #6179, #5530