jonahgao commented on issue #14208: URL: https://github.com/apache/datafusion/issues/14208#issuecomment-2603506411
This seems to be a bug in [binary_numeric_coercion](https://github.com/apache/datafusion/blob/2f283277d523404401b206e5b98819a0126341b8/datafusion/expr-common/src/type_coercion/binary.rs#L755). The common type of UInt64 and Int8/16/32/64 should not be Int64, because u64::max can't fit into it. It should be a wider type, for example, `Decimal128(20, 0)`. -- 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]
