tustvold commented on code in PR #7051:
URL: https://github.com/apache/arrow-rs/pull/7051#discussion_r1938266705
##########
arrow-schema/src/datatype.rs:
##########
@@ -458,7 +458,16 @@ pub enum UnionMode {
impl fmt::Display for DataType {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- write!(f, "{self:?}")
+ match self {
+ DataType::List(field) => {
Review Comment:
We also need to print the field name here if it isn't the default of item
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]