Gengliang Wang created SPARK-33549:
--------------------------------------

             Summary: 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


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

Reply via email to