Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
3.0.0
-
None
-
None
Description
The operation div returns always long. This came from Hive's behavior, which is different to the one of most of other DBMS (eg. MySQL, Postgres) which return as a datatype the same of the operands.
This JIRA tracks changing our return type and allowing the users to re-enable the old behavior using spark.sql.legacy.integralDivide.returnBigint.
I'll submit a PR for this soon.
Attachments
Issue Links
- links to