LuciferYang commented on code in PR #43642:
URL: https://github.com/apache/spark/pull/43642#discussion_r1382870557
##########
core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala:
##########
@@ -179,7 +179,9 @@ private[spark] object PythonRDD extends Logging {
type UnrolledPartition = Array[ByteArray]
val allPartitions: Array[UnrolledPartition] =
sc.runJob(rdd, (x: Iterator[ByteArray]) => x.toArray,
partitions.asScala.toSeq)
- val flattenedPartition: UnrolledPartition = Array.concat(allPartitions: _*)
+
+ import org.apache.spark.util.ArrayImplicits._
Review Comment:
I think we can change them to top-level imports, then SPARK-45686 can reuse
these imports.
--
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]