findepi commented on code in PR #17438: URL: https://github.com/apache/datafusion/pull/17438#discussion_r2333975283
########## datafusion/expr/src/expr.rs: ########## @@ -748,7 +748,9 @@ impl PartialOrd for Alias { let Some(Ordering::Equal) = cmp else { return cmp; }; - self.name.partial_cmp(&other.name) + self.name + .partial_cmp(&other.name) + .filter(|cmp| *cmp != Ordering::Equal || self == other) Review Comment: added -- 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...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org