panbingkun commented on code in PR #44618:
URL: https://github.com/apache/spark/pull/44618#discussion_r1444202975
##########
sql/core/src/test/scala/org/apache/spark/sql/UDFSuite.scala:
##########
@@ -840,7 +840,7 @@ class UDFSuite extends QueryTest with SharedSparkSession {
Row(ArrayBuffer(100)))
val myUdf2 = udf((a: immutable.ArraySeq[Int]) =>
-
immutable.ArraySeq.unsafeWrapArray[Int](a.appended(5).appended(6).toArray))
+ immutable.ArraySeq.unsafeWrapArray[Int]((a :+ 5 :+ 6).toArray))
Review Comment:
Only fix the comment related issues of another PR:
https://github.com/apache/spark/pull/44591
--
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]