ggershinsky commented on a change in pull request #776:
URL: https://github.com/apache/parquet-mr/pull/776#discussion_r430964257



##########
File path: 
parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java
##########
@@ -1114,7 +1299,20 @@ public ColumnIndex readColumnIndex(ColumnChunkMetaData 
column) throws IOExceptio
       return null;
     }
     f.seek(ref.getOffset());
-    return 
ParquetMetadataConverter.fromParquetColumnIndex(column.getPrimitiveType(), 
Util.readColumnIndex(f));
+
+    column.decryptIfNeededed();

Review comment:
       found a better place for it, inside the `ColumnChunkMetaData` object




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to