You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/05/04 06:45:00 UTC

[jira] [Resolved] (SPARK-39060) Typo in error messages of decimal overflow

     [ https://issues.apache.org/jira/browse/SPARK-39060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Gekk resolved SPARK-39060.
------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 36397
[https://github.com/apache/spark/pull/36397]

> Typo in error messages of decimal overflow
> ------------------------------------------
>
>                 Key: SPARK-39060
>                 URL: https://issues.apache.org/jira/browse/SPARK-39060
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.1
>            Reporter: Vitalii Li
>            Assignee: Vitalii Li
>            Priority: Major
>             Fix For: 3.4.0
>
>
>    org.apache.spark.SparkArithmeticException 
>    Decimal(expanded,10000000000000000000000000000000000000.1,39,1}) cannot be represented as Decimal(38, 1). If necessary set spark.sql.ansi.enabled to false to bypass this error.
>  
> As shown in {{decimalArithmeticOperations.sql.out}}
> Notice the extra {{}}} before ‘cannot’
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org