[jira] [Assigned] (SPARK-40209) Incorrect value in the error message of NUMERIC_VALUE_OUT_OF_RANGE

2022-08-24 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-40209:


Assignee: Max Gekk  (was: Apache Spark)

> Incorrect value in the error message of NUMERIC_VALUE_OUT_OF_RANGE
> --
>
> Key: SPARK-40209
> URL: https://issues.apache.org/jira/browse/SPARK-40209
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.4.0
>Reporter: Max Gekk
>Assignee: Max Gekk
>Priority: Major
>
> The example below demonstrates the issue:
> {code:sql}
> spark-sql> select cast(interval '10.123' second as decimal(1, 0));
> [NUMERIC_VALUE_OUT_OF_RANGE] 0.10 cannot be represented as Decimal(1, 0). 
> If necessary set "spark.sql.ansi.enabled" to "false" to bypass this error.
> {code}
> The value 0.10 is not related to 10.123.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Assigned] (SPARK-40209) Incorrect value in the error message of NUMERIC_VALUE_OUT_OF_RANGE

2022-08-24 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-40209:


Assignee: Apache Spark  (was: Max Gekk)

> Incorrect value in the error message of NUMERIC_VALUE_OUT_OF_RANGE
> --
>
> Key: SPARK-40209
> URL: https://issues.apache.org/jira/browse/SPARK-40209
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.4.0
>Reporter: Max Gekk
>Assignee: Apache Spark
>Priority: Major
>
> The example below demonstrates the issue:
> {code:sql}
> spark-sql> select cast(interval '10.123' second as decimal(1, 0));
> [NUMERIC_VALUE_OUT_OF_RANGE] 0.10 cannot be represented as Decimal(1, 0). 
> If necessary set "spark.sql.ansi.enabled" to "false" to bypass this error.
> {code}
> The value 0.10 is not related to 10.123.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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