thisisnic commented on issue #33335:
URL: https://github.com/apache/arrow/issues/33335#issuecomment-7132132563

   Thanks for reporting this! I'm going through older bug issues to see if we 
can close them out or we need further action.
   
   The metadata reaches the Parquet writer, but the writer only stores schema 
metadata when `store_schema` is enabled in `ArrowWriterProperties`, and 
`ParquetFileFormat::DefaultWriteOptions()` leaves it off. Setting 
`arrow_writer_properties = 
ArrowWriterProperties::Builder().store_schema()->build()` on the write options 
should keep it. From pyarrow 26.0.0, where `store_schema` is on by default, the 
metadata is kept, and it is lost with `store_schema=False`.
   
   I've relabelled this as an enhancement: the open question is whether the C++ 
dataset default should enable `store_schema`.
   


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