Add as_decimal_array(arr: &dyn Array) -> &DecimalArray
#1312
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
There are many
as_XXX
functions such asas_boolean_array
to conveniently downcast arrays to the appropriate concrete Array types, but not one forDecimalArray
😢 .The full list of supported ones is in the doc https://docs.rs/arrow/9.0.2/arrow/array/index.html#functions)
Describe the solution you'd like
I would like one for DecimalArray:
Additional context
Context: I found while working on apache/datafusion#1475
The text was updated successfully, but these errors were encountered: