alamb commented on issue #6881: URL: https://github.com/apache/arrow-rs/issues/6881#issuecomment-2544068224
> I think there is a broader and somewhat separate question around logical schema equality, that concerns not only this but metadata and possibly even logical type equality (is StringView the same as StringArray). > > IMO we shouldn't be opinionated here and instead leave this to systems integrating arrow. That seems like a reasonable approach. However, since `DataType` implements `PartialEq` I think that by necessity enforces some idea of what schema equality means If we had to do it again, maybe we would support different types of Eq for `DataType` somehow (or not support the Eq trait and force downstream users to decide how to compare different Fields) -- 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]
