Commits


Chungmin Lee authored and GitHub committed 2767dc55cb4
GH-41579: [C++][Python][Parquet] Support reading/writing key-value metadata from/to ColumnChunkMetaData (#41580) ### Rationale for this change Parquet standard allows reading/writing key-value metadata from/to ColumnChunkMetaData, but there is no way to do that with Parquet C++. ### What changes are included in this PR? Support reading/writing key-value metadata from/to ColumnChunkMetaData with Parquet C++ reader/writer. Support reading key-value metadata from ColumnChunkMetaData with pyarrow.parquet. ### Are these changes tested? Yes, unit tests are added ### Are there any user-facing changes? Yes. - Users can read or write key-value metadata for column chunks with Parquet C++. - Users can read key-value metadata for column chunks with PyArrow. - parquet-reader tool prints key-value metadata in column chunks when `--print-key-value-metadata` option is used. * GitHub Issue: #41579 Lead-authored-by: Chungmin Lee <chungminlee@microsoft.com> Co-authored-by: mwish <maplewish117@gmail.com> Signed-off-by: mwish <maplewish117@gmail.com>