Github user markhamstra commented on the pull request:
https://github.com/apache/spark/pull/12376#issuecomment-209810890
Interesting. While I'm well aware of Bankers' Rounding and the
inconsistent implementations of rounding in various SQL engines, I hadn't run
into the bround() function before. Searching now, I find that it is also in
SQL Server, but it looks to me like this is another bit of rounding
functionality that is not standardized across SQL implementations. Do you know
any different?
While having more than one rounding strategy available within Spark SQL can
be important for interoperating with other systems, I'm not sure if we have
decided to always follow HQL, particularly as Spark SQL becomes less directly
dependent on Hive in Spark 2.0. @marmbrus ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]