goldmedal commented on PR #7051: URL: https://github.com/apache/arrow-rs/pull/7051#issuecomment-2850956868
Thanks @irenjj for working on this. I agree with @Blizzara. The display result should be reversible. I prefer to format the `List` type like the following way: ```rust DataType::List(field) => { write!(f, "List({})", field.data_type()) } ``` The result would be something like `List(Int64)`. It can be parsed by `parse_data_type`. I think other list types can be formatted in the same way. Then, it's better to add the corresponding test cases at `list_datatypes`, where we will test the round-trip of data type parsing. https://github.com/apache/arrow-rs/blob/7905545537c50590fdb4dc645e3e0130fce80b57/arrow-schema/src/datatype_parse.rs#L604 -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org