Add TypedDictionaryArray
for more ergonomic interaction with DictionaryArray
#2136
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
help wanted
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
DictionaryArray
does not know the type of its underlying child array, and therefore cannot implementArrayAccessor
directly.Describe the solution you'd like
Introduce something like the following
This will allow having standard implementations of kernels in terms of ArrayAccessor that will also work for DictionaryArray (once downcast to the appropriate type).
Describe alternatives you've considered
We could continue to special case the various different types of dictionary, using macros to reduce duplication
Additional context
#2135
The text was updated successfully, but these errors were encountered: