LantaoJin edited a comment on pull request #29021: URL: https://github.com/apache/spark/pull/29021#issuecomment-655351944
I have one idea that is to add a new `Partitioning` such as `CoalescedPartitioning` to prevent from adding a `ShuffleExchangeExec` between `HashAggregateExec` and `CustomShuffleReaderExec`. Rewrite the `outputPartitioning()` in `CustomShuffleReaderExec` to return `CoalescedPartitioning` instead of `UnknownPartitioning`. https://github.com/apache/spark/blob/65286aec4b3c4e93d8beac6dd1b097ce97d53fd8/sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/CustomShuffleReaderExec.scala#L68-L70 ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
