pan3793 commented on code in PR #3250:
URL: https://github.com/apache/parquet-java/pull/3250#discussion_r2203368441
##########
parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java:
##########
@@ -1667,7 +1667,14 @@ public BloomFilter readBloomFilter(ColumnChunkMetaData
meta) throws IOException
byte[] bitset;
if (null == bloomFilterDecryptor) {
bitset = new byte[numBytes];
- in.read(bitset);
+ // For negative bloomFilterLength (files from older versions), use
readFully() instead of read().
Review Comment:
> files from older versions
could this be explained in more accurate words?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]