mihailom-db commented on code in PR #45693:
URL: https://github.com/apache/spark/pull/45693#discussion_r1537277643
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala:
##########
@@ -2149,7 +2159,7 @@ case class ArrayJoin(
}
}
- override def dataType: DataType = StringType
+ override def dataType: DataType = commonType
Review Comment:
Why not use some type of pass through where we would say dataType =
array.asInstanceOf[ArrayType].elementType? Implicit casting should solve the
problem of collations.
--
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]