LuciferYang commented on a change in pull request #29433:
URL: https://github.com/apache/spark/pull/29433#discussion_r470602940
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ObjectExpressionsSuite.scala
##########
@@ -360,8 +361,14 @@ class ObjectExpressionsSuite extends SparkFunSuite with
ExpressionEvalHelper {
stack.add(2)
stack.add(3)
+ val itemFromScalaVersion = if (Utils.isScala212) {
+ (Seq(1, 2, 3), ObjectType(classOf[WrappedArray[Int]]))
+ } else {
+ (WrappedArray.make(Array(1, 2, 3)),
ObjectType(classOf[WrappedArray[Int]]))
Review comment:
`immutable.Seq` data can't convert to `mutable.Seq` type, so this input
is distinguished
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]