Describe the bug, including details regarding any error messages, version, and platform.
When Map types are received via the C Data interface, field metadata (including extension metadata) is dropped. This seems unintentional given that we maintain that metadata for a list of structs:
Describe the bug, including details regarding any error messages, version, and platform.
When Map types are received via the C Data interface, field metadata (including extension metadata) is dropped. This seems unintentional given that we maintain that metadata for a list of structs:
This occurs because we reconstruct the fields to canonicalize the field names:
https://github.com/apache/arrow/blob/d7bc3788ea2773399b7ef489438c725999bfa83d/cpp/src/arrow/c/bridge.cc#L1298-L1321
I think that we don't have that problem in the IPC type conversion:
https://github.com/apache/arrow/blob/d7bc3788ea2773399b7ef489438c725999bfa83d/cpp/src/arrow/ipc/metadata_internal.cc#L393-L395
Component(s)
C++