viirya commented on a change in pull request #32932:
URL: https://github.com/apache/spark/pull/32932#discussion_r656512718
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/ShuffleExchangeExec.scala
##########
@@ -97,6 +97,10 @@ case object REPARTITION_BY_NUM extends ShuffleOrigin
// reader.
case object REPARTITION_BY_NONE extends ShuffleOrigin
+// Indicates that the shuffle operator was not guaranteed the output
partitioning so Spark
+// can try to optimize the partition number in AQE framework.
+case object ADAPTIVE_REPARTITION extends ShuffleOrigin
Review comment:
yea, sounds like it is overlapping with `REPARTITION_BY_NONE` somehow?
--
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]