alamb opened a new issue, #17477: URL: https://github.com/apache/datafusion/issues/17477
`PartialOrd` / `PartialEq` are used during planning and thus affect planning performance. We found some improvements that are possible in - https://github.com/apache/datafusion/pull/17438 I think `self == other` will (re) compare all entries in `self.values` and `other.values` again we can probably avoid checking `values == other.values` here by just checking the missing field ```suggestion .filter(|cmp| *cmp != Ordering::Equal || self.schema == other.schema) ``` _Originally posted by @alamb in https://github.com/apache/datafusion/pull/17438#discussion_r2325757148_ -- 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]
