dilipbiswal commented on a change in pull request #28593:
URL: https://github.com/apache/spark/pull/28593#discussion_r436516510
##########
File path: docs/sql-migration-guide.md
##########
@@ -28,6 +28,8 @@ license: |
- In Spark 3.1, SQL UI data adopts the `formatted` mode for the query plan
explain results. To restore the behavior before Spark 3.0, you can set
`spark.sql.ui.explainMode` to `extended`.
+ - In Spark 3.1, casting numeric to timestamp will be forbidden by default.
It's strongly recommended to use dedicated functions: TIMESTAMP_SECONDS,
TIMESTAMP_MILLIS and TIMESTAMP_MICROS. Or you can setting
`spark.sql.legacy.allowCastNumericToTimestamp` to true to work around it. See
more details in SPARK-31710.
Review comment:
setting -> try setting or set ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]