Github user mgaido91 commented on the issue:
https://github.com/apache/spark/pull/22395
@gatorsmile I checked on MySQL 5.6 and there are 2 differences between
MySQL's `div` and the current implementation:
- MySQL returns an `int` if the div operands are integers, `bigint` if
they are bigint, etc (as reported for Postgres and SQLServer in
https://github.com/apache/spark/pull/22395#discussion_r217289728);
- MySQL accepts as operands also decimal, double, etc. (it is the only DB
doing so).
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]