gczsjdy commented on a change in pull request #20303: [SPARK-23128][SQL] A new
approach to do adaptive execution in Spark SQL
URL: https://github.com/apache/spark/pull/20303#discussion_r266242495
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/ShuffleExchangeExec.scala
##########
@@ -56,68 +55,34 @@ case class ShuffleExchangeExec(
) ++ readMetrics ++ writeMetrics
override def nodeName: String = {
- val extraInfo = coordinator match {
- case Some(exchangeCoordinator) =>
- s"(coordinator id: ${System.identityHashCode(exchangeCoordinator)})"
- case _ => ""
- }
-
- val simpleNodeName = "Exchange"
- s"$simpleNodeName$extraInfo"
+ "Exchange"
Review comment:
:nit No need {}
----------------------------------------------------------------
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]