Improve human readable display for DataType::List
#7048
Labels
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
help wanted
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Often we would like to display DataTypes as part of an error message in DataFusion
The documentation (link) says
However this is not the case for ListArray
In apache/datafusion#14378 I made what looks like it should be a nice error message
However, what comes out is is 🤮
Describe the solution you'd like
I would like a way to get a nicer human readable version of this for error messages
Soemthing like
Where the
N
stands for nullableDescribe alternatives you've considered
I personally recommend
Display
forDataType::List
Right now it simply uses the
Debug
implementation:arrow-rs/arrow-schema/src/datatype.rs
Lines 460 to 462 in 3bf29a2
Additional context
The text was updated successfully, but these errors were encountered: