zhangjiashen commented on code in PR #1184: URL: https://github.com/apache/parquet-mr/pull/1184#discussion_r1396684158
########## parquet-hadoop/src/main/java/org/apache/parquet/hadoop/metadata/ColumnChunkMetaData.java: ########## @@ -341,6 +351,15 @@ public long getBloomFilterOffset() { return bloomFilterOffset; } + /** + * @return the length to the Bloom filter or {@code -1} if there is no bloom filter for this column chunk + */ + @Private + public int getBloomFilterLength() { Review Comment: it will be -1 by default and then length will be loaded from bloom filter header. There are bunch of tests including E2E tests in TestParquetFileWriter, TestParquetMetadataConverter, ParquetRewriterTest, please take a look? -- 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: dev-unsubscr...@parquet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org