mickjermsurawong-stripe opened a new pull request #25033: [SPARK-28224] 
Aggregate sum large decimals
URL: https://github.com/apache/spark/pull/25033
 
 
   ## What changes were proposed in this pull request?
   - Currently `sum` for decimal type can overflow and returning null.
   - This PR adds overflow check at the sum operator itself allowing for 
throwing exception.
   - This is follow up to https://github.com/apache/spark/pull/25010
   
   https://issues.apache.org/jira/browse/SPARK-28224
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
   (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
   - Added an integration test on dataframe suite

----------------------------------------------------------------
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]

Reply via email to