RussellSpitzer commented on code in PR #3935:
URL: https://github.com/apache/parquet-java/pull/3935#discussion_r4488168892


##########
parquet-hadoop/src/main/java/org/apache/parquet/hadoop/rewrite/ParquetRewriter.java:
##########
@@ -738,16 +738,17 @@ private void processChunk(
           BytesInput dlLevels = readBlockAllocate(dlLength, reader);
           int payLoadLength = pageHeader.getCompressed_page_size() - rlLength 
- dlLength;
           int rawDataLength = pageHeader.getUncompressed_page_size() - 
rlLength - dlLength;
+          // Not encrypted here: the writer encrypts the levels and the 
payload together

Review Comment:
   This is set up so that if you happen to use the rewriter, we will fix the 
encryption from the old version to the new one.



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

Reply via email to