Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/20023
  
    ```
    db2 => create table decimals_test(id int, a decimal(31,18), b 
decimal(31,18))
    DB20000I  The SQL command completed successfully.
    db2 => insert into decimals_test values (1, 2.33, 1.123456789123456789)
    DB20000I  The SQL command completed successfully.
    db2 => select a * b from decimals_test
    
    1                                
    ---------------------------------
    SQL0802N  Arithmetic overflow or other arithmetic exception occurred.  
    SQLSTATE=22003
    ```
    
    I might not get your point. Above is the result I got. This is your 
scenario 3 or 2?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to