[ https://issues.apache.org/jira/browse/SPARK-33549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-33549. --------------------------------- Fix Version/s: 3.1.0 Resolution: Fixed Issue resolved by pull request 30493 [https://github.com/apache/spark/pull/30493] > 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 > Fix For: 3.1.0 > > > 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