liukun4515 commented on code in PR #1935:
URL: https://github.com/apache/arrow-rs/pull/1935#discussion_r910669550


##########
parquet/src/file/metadata.rs:
##########
@@ -789,6 +792,107 @@ impl ColumnChunkMetaDataBuilder {
     }
 }
 
+/// Builder for column index
+pub struct ColumnIndexBuilder {
+    null_pages: Vec<bool>,
+    min_values: Vec<Vec<u8>>,
+    max_values: Vec<Vec<u8>>,
+    // TODO: calc the order for all pages in this column

Review Comment:
   > 👍 this is useful for checking whether use page index
   
   If the data in the pages are ordered by ascend or descend, we can use the 
`binary search` to accelerate the page filter.



-- 
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]

Reply via email to