rustyconover opened a new pull request, #669:
URL: https://github.com/apache/arrow-go/pull/669

   ### Rationale for this change
   
   Arrow IPC Messages wrap RecordBatch data in a Message flatbuffer which has a 
custom_metadata field (vector of KeyValue pairs). PyArrow and other 
implementations use this to attach per-batch metadata, but the Go 
implementation previously ignored it on both read and write paths.
   
   ### What changes are included in this PR?
   
   Add a RecordBatchWithMetadata optional interface to avoid breaking the 
existing RecordBatch interface. The simpleRecord implementation carries 
metadata through NewSlice, SetColumn, and IPC round-trips. Includes 
PyArrow-generated test fixtures for interoperability validation.
   
   ### Are these changes tested?
   
   Yes tests are included.
   
   ### Are there any user-facing changes?
   
   Yes custom_metadata is now supported on RecordBatches.
   
   This change was developed with AI assistance and manually reviewed.


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