You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/03/24 16:12:30 UTC

[GitHub] [spark] yaooqinn commented on a change in pull request #31954: [SPARK-34856][SQL] ANSI mode: Allow casting complex types as string type

yaooqinn commented on a change in pull request #31954:
URL: https://github.com/apache/spark/pull/31954#discussion_r600637835



##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala
##########
@@ -1873,6 +1873,8 @@ object AnsiCast {
 
     case (NullType, _) => true
 
+    case (_, StringType) => true

Review comment:
       Does this affect the coming year-month and day-time interval?




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org