dongjoon-hyun commented on a change in pull request #31954:
URL: https://github.com/apache/spark/pull/31954#discussion_r600787480
##########
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:
@cloud-fan . Usually, we do the explicitly allowed-list approach in case
of types. Is this change okay?
If this PR aims for `complex type` only, why don't we add them explicitly
instead of doing this widely.
--
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]