maryannxue commented on a change in pull request #30432:
URL: https://github.com/apache/spark/pull/30432#discussion_r529190256
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/ShuffleExchangeExec.scala
##########
@@ -77,18 +92,29 @@ trait ShuffleExchangeLike extends Exchange {
def runtimeStatistics: Statistics
}
+// Describes where the shuffle operator comes from.
+object ShuffleOrigin extends Enumeration {
Review comment:
Can we use seal trait/abstract class, so we type won't have a trailing
`.Value`?
----------------------------------------------------------------
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]