zzzzwj commented on code in PR #33703:
URL: https://github.com/apache/arrow/pull/33703#discussion_r1072232874
##########
cpp/src/parquet/encryption/internal_file_decryptor.h:
##########
@@ -76,12 +76,17 @@ class InternalFileDecryptor {
::arrow::MemoryPool* pool() { return pool_; }
+ /// This object must not outlive the InternalFileDecryptor.
std::shared_ptr<Decryptor> GetFooterDecryptor();
+ /// This object must not outlive the InternalFileDecryptor.
std::shared_ptr<Decryptor> GetFooterDecryptorForColumnMeta(const
std::string& aad = "");
+ /// This object must not outlive the InternalFileDecryptor.
std::shared_ptr<Decryptor> GetFooterDecryptorForColumnData(const
std::string& aad = "");
+ /// This object must not outlive the InternalFileDecryptor.
std::shared_ptr<Decryptor> GetColumnMetaDecryptor(
const std::string& column_path, const std::string& column_key_metadata,
const std::string& aad = "");
+ /// This object must not outlive the InternalFileDecryptor.
Review Comment:
Sorry, I didn't notice that comment. Will fix in next commit if has.
--
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]