mgaido91 commented on issue #25136: [SPARK-28322][SQL] Add support to Decimal 
type for integral divide
URL: https://github.com/apache/spark/pull/25136#issuecomment-522649585
 
 
   > Does div support double/float?
   
   no, in Postgres at least it doesn't.
   
   > what's the semantic? 
   
   it returns the integral part of the division. It'd go for:
   
   > applying fractional division and casting the result to long
   
   as far as the cast means flooring the result.

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