chaubold opened a new pull request, #46354:
URL: https://github.com/apache/arrow/pull/46354

   ### Rationale for this change
   The Arrow APIs for other languages offer to set the footer metadata of an 
IPC file, but `pyarrow` was lacking this. I opened #46222 because we need this 
feature at KNIME, and took a shot at suggesting an implementation. Happy to get 
your feedback on the change!
   
   ### What changes are included in this PR?
   A new keyword argument `metadata` in `RecordBatchFileWriter.__init__` as 
well as in `ipc.new_file`. The value is `None` by default to not break 
backwards compatibility.
   
   Also added a `metadata` property to the `RecordBatchFileReader` to be able 
to extract the metadata easily.
   
   ### Are these changes tested?
   Yes, by a unit test.
   
   ### Are there any user-facing changes?
   Yes, see above :)


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