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/05/28 13:30:45 UTC
[GitHub] [arrow-rs] Ted-Jiang commented on a diff in pull request #1762: Prepare and construct index from col metadata for skipping pages at reading
Ted-Jiang commented on code in PR #1762:
URL: https://github.com/apache/arrow-rs/pull/1762#discussion_r884135406
##########
parquet/src/file/serialized_reader.rs:
##########
@@ -955,4 +992,60 @@ mod tests {
assert_eq!(metadata.num_row_groups(), 0);
Ok(())
}
+
+ #[test]
+ // Use java parquet-tools get below pageIndex info
+ // !```
+ // parquet-tools column-index ./data_index_bloom_encoding_stats.parquet
+ // row group 0:
+ // column index for column String:
+ // Boudary order: ASCENDING
+ // page-0 :
+ // null count min max
+ // 0 Hello today
+ //
+ // offset index for column String:
+ // page-0 :
+ // offset compressed size first row index
+ // 4 152 0
+ ///```
+ //
+ fn test_page_index_reader() {
+ let test_file = get_test_file("data_index_bloom_encoding_stats.parquet");
Review Comment:
Will add more test after add file in `parquet-testing`
--
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