Describe the bug, including details regarding any error messages, version, and platform.
This code here looks slightly fishy:
|
column_chunk_->__set_encrypted_column_metadata(encrypted_column_metadata); |
|
|
|
if (encrypted_footer) { |
|
column_chunk_->__isset.meta_data = false; |
|
} else { |
|
// Keep redacted metadata version for old readers |
|
column_chunk_->__isset.meta_data = true; |
|
column_chunk_->meta_data.__isset.statistics = false; |
|
column_chunk_->meta_data.__isset.encoding_stats = false; |
|
} |
Basically, when encrypting a Parquet file with plaintext footer, the Parquet writer also keeps most of the column metadata in plaintext (except statistics).
Component(s)
C++, Parquet
Describe the bug, including details regarding any error messages, version, and platform.
This code here looks slightly fishy:
arrow/cpp/src/parquet/metadata.cc
Lines 1787 to 1796 in 8b469b1
Basically, when encrypting a Parquet file with plaintext footer, the Parquet writer also keeps most of the column metadata in plaintext (except statistics).
Component(s)
C++, Parquet