You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/30 03:51:00 UTC

[GitHub] [arrow-rs] Ted-Jiang commented on a diff in pull request #1935: add column index writer for parquet

Ted-Jiang commented on code in PR #1935:
URL: https://github.com/apache/arrow-rs/pull/1935#discussion_r910581055


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



-- 
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: github-unsubscribe@arrow.apache.org

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