mihailom-db commented on code in PR #46474:
URL: https://github.com/apache/spark/pull/46474#discussion_r1625038412
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CollationTypeCasts.scala:
##########
@@ -152,6 +150,8 @@ object CollationTypeCasts extends TypeCoercionRule {
case 0 =>
val implicitTypes = expr.filter {
case Literal(_, _: StringType) => false
+ case cast: Cast if
cast.getTagValue(Cast.USER_SPECIFIED_CAST).isDefined =>
Review Comment:
Good catch, removed it.
--
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]