ulysses-you commented on a change in pull request #33342:
URL: https://github.com/apache/spark/pull/33342#discussion_r669434839
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/CustomShuffleReaderExec.scala
##########
@@ -92,6 +92,8 @@ case class CustomShuffleReaderExec private(
*/
def hasCoalescedPartition: Boolean = {
partitionSpecs.exists {
+ // shuffle from empty RDD
+ case CoalescedPartitionSpec(0, 0, _) => true
Review comment:
it should be more clearer than `s.startReducerIndex + 1 !=
s.endReducerIndex`
--
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]