pitrou commented on code in PR #41550:
URL: https://github.com/apache/arrow/pull/41550#discussion_r1591990664


##########
cpp/src/parquet/file_reader.cc:
##########
@@ -373,6 +373,7 @@ class SerializedFile : public ParquetFileReader::Contents {
 
   void set_metadata(std::shared_ptr<FileMetaData> metadata) {
     file_metadata_ = std::move(metadata);
+    file_decryptor_ = file_metadata_->file_decryptor();

Review Comment:
   I think this begs the question: do we need a `file_decryptor_` field here? 
We could just get it from the metadata everytime.



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

Reply via email to