mgaido91 opened a new pull request #25136: [SPARK-28322][SQL] Add support to 
Decimal type for integral divide
URL: https://github.com/apache/spark/pull/25136
 
 
   ## What changes were proposed in this pull request?
   
   The expression `IntegralDivide`, which corresponds to the `div` operator, 
support only integral type. Postgres, though, allows it to work also with 
decimals.
   
   The PR adds the support to decimal operands for this operation in order to 
have feature parity with postgres.
   
   ## How was this patch tested?
   
   added UTs

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