clairemcginty commented on code in PR #3098:
URL: https://github.com/apache/parquet-java/pull/3098#discussion_r1922778946
##########
parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/ColumnIndexBuilder.java:
##########
@@ -378,6 +379,11 @@ public <T extends Comparable<T>> PrimitiveIterator.OfInt
visit(Contains<T> conta
indices -> IndexIterator.all(getPageCount()));
}
+ @Override
+ public PrimitiveIterator.OfInt visit(Size size) {
+ return IndexIterator.all(getPageCount());
Review Comment:
thanks for the pointer! I took a pass at implementing this for
ColumnIndexBuilder. though my logic ended up slightly different, since I think
we need to take into account any previous null pages when computing per-page
offsets?
https://github.com/apache/parquet-java/pull/3098/commits/9586427b780bf28e274949448dfc4ebbe39284cc#diff-5469df3d4b1fc51a21a1c341964c046789df8a9e7a487926a10a1c26eb4915b6R511-R525
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]