ConeyLiu commented on code in PR #1183:
URL: https://github.com/apache/parquet-mr/pull/1183#discussion_r1381384113
##########
parquet-hadoop/src/main/java/org/apache/parquet/hadoop/rewrite/ParquetRewriter.java:
##########
@@ -323,7 +318,7 @@ private void processBlocksFromReader(IndexCache indexCache)
throws IOException {
}
// Translate compression and/or encryption
- writer.startColumn(descriptor,
crStore.getColumnReader(descriptor).getTotalValueCount(), newCodecName);
+ writer.startColumn(descriptor, chunk.getValueCount(), newCodecName);
Review Comment:
Same here, just get the value count from the ColumnChunkMetaData
--
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]