nikolamand-db commented on code in PR #45693:
URL: https://github.com/apache/spark/pull/45693#discussion_r1551648804
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala:
##########
@@ -2002,9 +2003,9 @@ case class ArrayJoin(
this(array, delimiter, Some(nullReplacement))
override def inputTypes: Seq[AbstractDataType] = if
(nullReplacement.isDefined) {
- Seq(ArrayType(StringType), StringType, StringType)
+ Seq(ArrayType, StringTypeAnyCollation, StringTypeAnyCollation)
Review Comment:
@cloud-fan There's a special case in `FunctionArgumentConversion` which
implicitly casts array parameter to array of strings
https://github.com/apache/spark/pull/21620.
--
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]