noahfrn opened a new issue, #43287: URL: https://github.com/apache/arrow/issues/43287
### Describe the enhancement requested Hi there, I'm writing a C++ application that uses an Arrow IPC decoder to decode a stream of Arrow IPC, and am using pybind11 to add Python support. I'd like to be able to transparently (and with zero-copy) pass KeyValueMetadata objects to and from C++/Python, but I cannot access the current Cython `wrap` and `unwrap` utils from the pybind layer. My current work-around is to cast these objects into a python `dict` / C++ `unordered_map`, but I'd like to be able to cast between `arrow::KeyValueMetadata` and `pyarrow.lib.KeyValueMetadata` objects, as I'm currently doing with Schema and RecordBatch objects. The Arrow C data interface doesn't currently include a structure definition for KeyValueMetadata objects, which I imagine might need to be supported to get this to work properly. Happy to discuss this issue and why this may/may not be possible ! Thanks again for all your work on Arrow ### Component(s) C++, Python -- 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]
