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: issues-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@parquet.apache.org
For additional commands, e-mail: issues-h...@parquet.apache.org

Reply via email to