cloud-fan commented on a change in pull request #34459:
URL: https://github.com/apache/spark/pull/34459#discussion_r741295477
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala
##########
@@ -2052,6 +2068,7 @@ object AnsiCast {
* Spark's ANSI mode follows the syntax rules, except it specially allow the
following
* straightforward type conversions which are disallowed as per the SQL
standard:
* - Numeric <=> Boolean
+ * - Numeric <=> Timestamp
Review comment:
shall we remove this change? By default we don't allow it in the ansi
mode.
--
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]