[jira] [Assigned] (SPARK-33549) Remove configuration spark.sql.legacy.allowCastNumericToTimestamp

2020-11-24 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-33549:


Assignee: Gengliang Wang  (was: Apache Spark)

> Remove configuration spark.sql.legacy.allowCastNumericToTimestamp
> -
>
> Key: SPARK-33549
> URL: https://issues.apache.org/jira/browse/SPARK-33549
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.1.0
>Reporter: Gengliang Wang
>Assignee: Gengliang Wang
>Priority: Minor
>
> In the current master branch, there is a new configuration 
> `spark.sql.legacy.allowCastNumericToTimestamp` which controls whether to cast 
> Numeric types to Timestamp or not. The default value is true.
> After https://github.com/apache/spark/pull/30260, the type conversion between 
> Timestamp type and Numeric type is disallowed in ANSI mode. So, we don't need 
> to a separate configuration `spark.sql.legacy.allowCastNumericToTimestamp` 
> for disallowing the conversion.
> We should remove the configuration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Assigned] (SPARK-33549) Remove configuration spark.sql.legacy.allowCastNumericToTimestamp

2020-11-24 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-33549:


Assignee: Apache Spark  (was: Gengliang Wang)

> Remove configuration spark.sql.legacy.allowCastNumericToTimestamp
> -
>
> Key: SPARK-33549
> URL: https://issues.apache.org/jira/browse/SPARK-33549
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.1.0
>Reporter: Gengliang Wang
>Assignee: Apache Spark
>Priority: Minor
>
> In the current master branch, there is a new configuration 
> `spark.sql.legacy.allowCastNumericToTimestamp` which controls whether to cast 
> Numeric types to Timestamp or not. The default value is true.
> After https://github.com/apache/spark/pull/30260, the type conversion between 
> Timestamp type and Numeric type is disallowed in ANSI mode. So, we don't need 
> to a separate configuration `spark.sql.legacy.allowCastNumericToTimestamp` 
> for disallowing the conversion.
> We should remove the configuration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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