LuciferYang commented on code in PR #37185:
URL: https://github.com/apache/spark/pull/37185#discussion_r922687649


##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/GenericArrayDataBenchmark.scala:
##########
@@ -58,7 +58,7 @@ object GenericArrayDataBenchmark extends BenchmarkBase {
     }
 
     benchmark.addCase("arrayOfAnyAsSeq") { _ =>
-      val arr: Seq[Any] = new Array[Any](arraySize)
+      val arr: scala.collection.Seq[Any] = new Array[Any](arraySize)

Review Comment:
   `Seq` in Scala 2.12 representative `scala.collection.Seq`, but in  in Scala 
2.12 representative `scala.collection.immutable.Seq`, for the sake of fairness, 
change to  declared as `scala.collection.Seq` here
   
   



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