Mick Jermsurawong created SPARK-28224: -----------------------------------------
Summary: Sum aggregation returns null on overflow decimals Key: SPARK-28224 URL: https://issues.apache.org/jira/browse/SPARK-28224 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 3.0.0 Reporter: Mick Jermsurawong Given the option to throw exception on overflow on, sum aggregation of overflowing bigdecimal still remain null. {{DecimalAggregates}} is only invoked when expression of the sum (not the elements to be operated) has sufficiently small precision. The fix seems to be in Sum expression itself. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org