hvanhovell opened a new pull request #27530: [SPARK-30780] Empty LocalTableScan 
should use RDD without partitions
URL: https://github.com/apache/spark/pull/27530
 
 
   ### What changes were proposed in this pull request?
   This is a small follow-up for https://github.com/apache/spark/pull/27400. 
This PR makes an empty `LocalTableScanExec` return an `RDD` without partitions.
   
   ### Why are the changes needed?
   It is a bit unexpected that the RDD contains partitions if there is not work 
to do. It also can save a bit of work when this is used in a more complex plan.
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   Added test to `SparkPlanSuite`.

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