GitHub user gczsjdy opened a pull request: https://github.com/apache/spark/pull/19755
[SPARK-22524] Subquery shows reused on UI SQL tab even if it's not reused After manually disabling `reuseSubquery` rule, the subqueries won't be reused. But on the SQL graph, there is only one subquery node and it looks like subquery is reused. `SparkPlanGraph` compares different `SparkPlanInfo`s by comparing their `simpleString`, which requires us to design `simpleString` well. While `SubqueryExec`'s `simpleString` depends only on the `exprId`, so we need to add extra index to its name. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gczsjdy/spark subquery_ui Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19755.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #19755 ---- commit 7aa148c948a0610779dccc61e9ddddf5c8e6893c Author: GuoChenzhao <chenzhao....@intel.com> Date: 2017-11-15T08:00:36Z Add to subquery name ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org