findepi commented on code in PR #17081: URL: https://github.com/apache/datafusion/pull/17081#discussion_r2267040303
########## datafusion/expr/src/udwf.rs: ########## @@ -82,15 +82,15 @@ impl Display for WindowUDF { impl PartialEq for WindowUDF { fn eq(&self, other: &Self) -> bool { - self.inner.equals(other.inner.as_ref()) + self.inner.dyn_eq(&other.inner) } Review Comment: good catch! the `as_ref`s seems not to be needed, but the `as_any` is! -- 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