uros-db commented on code in PR #47649:
URL: https://github.com/apache/spark/pull/47649#discussion_r1706702737


##########
sql/core/src/test/scala/org/apache/spark/sql/CollationSuite.scala:
##########
@@ -464,6 +464,14 @@ class CollationSuite extends DatasourceV2SQLBase with 
AdaptiveSparkPlanHelper {
       checkAnswer(sql(s"SELECT c1 FROM $tableName WHERE c1 IN ('b', 
COLLATE('a', 'UTF8_BINARY'))"),
         Seq(Row("a")))
 
+      // array_append expression
+      checkAnswer(sql(s"SELECT array_append(array('a', 'b'), 'c' COLLATE 
UNICODE)"),
+        Seq(Row(Seq("a", "b", "c"))))

Review Comment:
   can we update this test so that we verify the end result dataType?



-- 
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]

Reply via email to