You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "coderfender (via GitHub)" <gi...@apache.org> on 2025/07/24 20:44:20 UTC
Re: [PR] fix : cast_operands_to_decimal_type_to_fix_arithmetic_overflow [datafusion-comet]
coderfender commented on PR #1996:
URL: https://github.com/apache/datafusion-comet/pull/1996#issuecomment-3114876952
Casting data types to DoubleType which would be translated to f64 in Rust produces incorrect results since the results are casted back to int64 / LongType capping the value to Long.MAX_VALUE . The solution was to cast it to decimal type
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org