Add DataType
function to detect nested types
#2704
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.
DataFusion handles structured types specially in some cases. It would be nice to have a function in
DataType
to detect this case such asDataType::is_nested
Ideally it would follow a similar model to https://docs.rs/arrow/22.0.0/arrow/datatypes/enum.DataType.html#method.is_numeric
Describe the solution you'd like
I would like a function like
DataType::is_nested()
or something similar that returns true forFixedSizeList
,LargeList
, etc. I think the list is:Describe alternatives you've considered
Additional context
See https://github.com/apache/arrow-datafusion/pull/3380/files#r967640804
The text was updated successfully, but these errors were encountered: