cloud-fan commented on a change in pull request #26516: [SPARK-29893] improve 
the local shuffle reader performance by changing the reading task number from 1 
to multi.
URL: https://github.com/apache/spark/pull/26516#discussion_r347730753
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/OptimizeLocalShuffleReader.scala
 ##########
 @@ -119,14 +133,18 @@ case class LocalShuffleReaderExec(child: SparkPlan) 
extends UnaryExecNode {
   }
 
   private var cachedShuffleRDD: RDD[InternalRow] = null
+  // for test
+  def getLocalShuffleRDD(): RDD[InternalRow] = {
 
 Review comment:
   do we really need it? We can simply call `doExecute` to get it.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to