cloud-fan commented on a change in pull request #26519:
[SPARK-29894][SQL][WEBUI] Add Codegen Stage Id to Spark plan graphs in Web UI
SQL Tab
URL: https://github.com/apache/spark/pull/26519#discussion_r348006808
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/SparkPlanGraph.scala
##########
@@ -77,8 +77,9 @@ object SparkPlanGraph {
parent: SparkPlanGraphNode,
subgraph: SparkPlanGraphCluster,
exchanges: mutable.HashMap[SparkPlanInfo, SparkPlanGraphNode]): Unit = {
+ val WholeStageCodegenPattern = "(WholeStageCodegen.*)".r
planInfo.nodeName match {
- case "WholeStageCodegen" =>
Review comment:
how about `case name if name.startsWith("WholeStageCodegen")`
----------------------------------------------------------------
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]