jonahgao commented on issue #15161: URL: https://github.com/apache/datafusion/issues/15161#issuecomment-2717913303
I checked and found that Spark has the same behavior as PostgreSQL. Maybe we should use a different coercion rule for this since the current [`comparison_coercion`](https://github.com/apache/datafusion/blob/bb1611578f8af42aacf611cb580940964665702d/datafusion/expr-common/src/type_coercion/binary.rs#L710) is also used by `union`. -- 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