paleolimbot opened a new pull request, #18277: URL: https://github.com/apache/datafusion/pull/18277
## Which issue does this PR close? Follow on PR for https://github.com/apache/datafusion/pull/17986 , cleaning a few verbose helpers for comparing equality and printing. This is done by introducing a non-owning SerializedTypeView (name up for debate) that handles comparison and display of extension types. ## Rationale for this change The two helpers designed to centralize the printing and comparison of DataType + Metadata were verbose and hard to understand. ## What changes are included in this PR? - Added `SerializedTypeView` (== `&DataType` + `Option(extension_name)` + `Option(extension_metadata)` - Implemented Display and PartialEq - Removed previous helpers and used the new class for display and comparison ## Are these changes tested? I'll complete the test coverage if this seems like a reasonable approach. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
