skambha commented on issue #27627: [WIP][SPARK-28067][SQL] Fix incorrect results for decimal aggregate sum by returning null on decimal overflow URL: https://github.com/apache/spark/pull/27627#issuecomment-595906474 Yes. I agree. E.g ` " agg_value_3 = agg_value_4.$plus(agg_expr_0_0);" ` This can overflow and hold the value but not when it writes out to the UnsafeRow. >Can someone investigate it further and see why spark.range(0, 12, 1, 1) works? Yes. I will look into this. If someone else has suggestions please do share.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
