Github user mgaido91 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22465#discussion_r218760897
  
    --- 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 --
    
    ok thanks, I see your point. cc @cloud-fan @dongjoon-hyun @viirya for their 
opinion on this. Thanks.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to