XiDuo You created SPARK-39315:
---------------------------------
Summary: Refactor PromotePrecision and CheckOverflow with decimal
binary arithmetic
Key: SPARK-39315
URL: https://issues.apache.org/jira/browse/SPARK-39315
Project: Spark
Issue Type: Umbrella
Components: SQL
Affects Versions: 3.4.0
Reporter: XiDuo You
For a decimal binary arithmetic expression, we correct its runtime data type
and result data type at DecimalPrecision. It has two drawback:
# it has some bug with the different ordering of the rules in TypeCoercion
# it's unnecessary to change its runtime data type for decimal, as it supports
eval with different precision. So what we need to do is change the result type
precision.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]