Skip to content

Commit

Permalink
PARQUET-2183: Fix statistics issue of Column Encryptor
Browse files Browse the repository at this point in the history
  • Loading branch information
shangxinli committed Sep 3, 2022
1 parent 6add627 commit 1f9c3f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private void processChunk(ColumnDescriptor descriptor, ColumnChunkMetaData chunk
reader.setStreamPosition(chunk.getStartingPos());
writer.startColumn(descriptor, chunk.getValueCount(), chunk.getCodec());
processPages(reader, chunk, writer, createdBy, blockId, columnId, encryptPaths.contains(chunk.getPath()));
writer.endColumn();
writer.endColumn(chunk.getStatistics());
}

private void processPages(TransParquetFileReader reader, ColumnChunkMetaData chunk, ParquetFileWriter writer,
Expand Down

0 comments on commit 1f9c3f7

Please sign in to comment.