luluorta opened a new pull request #29882:
URL: https://github.com/apache/spark/pull/29882


   ### What changes were proposed in this pull request?
   When an division by zero occurs performing an divide-like operation (Divide, 
IntegralDivide, Remainder or Pmod), we are returning an incorrect value. 
Instead, we should throw an exception, as stated in the SQL standard.
   
   
   ### How was this patch tested?
   added UT + existing UTs (improved)


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to