cloud-fan commented on issue #25136: [SPARK-28322][SQL] Add support to Decimal type for integral divide URL: https://github.com/apache/spark/pull/25136#issuecomment-522470744 I'm totally fine with adding an internal config to change some behaviors to match Postgres, so that we can leverage the tests from Postgres. However, if we want to officially change a behavior, we need to do more studies. Does SQL standard define the behavior of `div`? What's the behavior of `div` in mainstream databases? Do we have some valid use cases that need to change the behavior of `div`?
---------------------------------------------------------------- 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]
