jiangxt2 commented on code in PR #57399: URL: https://github.com/apache/spark/pull/57399#discussion_r3626882867
########## docs/sql-migration-guide.md: ########## @@ -63,6 +63,7 @@ license: | - Since Spark 4.0, Spark removes `hive-llap-common` dependency. To restore the previous behavior, add `hive-llap-common` jar to the class path. - Since Spark 4.0, `spark.sql.parquet.compression.codec` drops the support of codec name `lz4raw`, please use `lz4_raw` instead. - Since Spark 4.0, when overflowing during casting timestamp to byte/short/int under non-ansi mode, Spark will return null instead a wrapping value. +- Since Spark 4.0, when overflowing during casting numeric types (double, float) to timestamp under non-ansi mode, Spark will return null instead of an incorrect value caused by numeric overflow. Review Comment: Done. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
