Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/22465#discussion_r218756921
--- Diff: sql/core/src/test/resources/sql-tests/inputs/operators.sql ---
@@ -26,6 +26,15 @@ select 5 div 0;
select 5 div null;
select null div 5;
+set spark.sql.legacy.integralDivide.returnBigint=true;
+
+select 5 div 2;
+select 5 div 0;
+select 5 div null;
+select null div 5;
+
+set spark.sql.legacy.integralDivide.returnBigint=false;
+
--- End diff --
I wanted to keep them close to the other `div` tests, but I am fine moving
them. Let me know.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]