You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Format] Add custom_metadata to DictionaryEncoding for the dictionary value type #54958
In IPC, a dictionary-encoded column is a single Field whose type is the dictionary value type, and the only metadata slot is Field.custom_metadata. So dictionary<values=extension<X>> and extension<X, storage=dictionary<...>> serialize identically, and readers cannot tell them apart. For example, pyarrow cannot read back its own IPC stream of pa.dictionary(pa.int32(), pa.uuid()) (#49704).
The dev@ discussion (https://lists.apache.org/thread/4xj0yrl2vn0lbrv39p3dvd28okvkjxyz) reached lazy consensus on adding an optional custom_metadata: [KeyValue] to DictionaryEncoding. It would carry the custom metadata of the dictionary value type, as the IPC counterpart of ArrowSchema.dictionary->metadata in the C Data Interface.
This issue tracks the format/specification change (format version 1.6). The implementations are tracked separately:
Activity