You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2018/10/06 22:12:45 UTC
spark git commit: [SPARK-25575][WEBUI][FOLLOWUP] SQL tab in the spark
UI support hide tables
Repository: spark
Updated Branches:
refs/heads/master b0cee9605 -> 756a3ab18
[SPARK-25575][WEBUI][FOLLOWUP] SQL tab in the spark UI support hide tables
## What changes were proposed in this pull request?
After the PR, https://github.com/apache/spark/pull/22592, SQL tab supports collapsing table.
However, after refreshing the page, it doesn't store it previous state. This was due to a typo in the argument list in the collapseTablePageLoadCommand().
## How was this patch tested?
bin/spark-shell
```
sql("create table a (id int)")
for(i <- 1 to 100) sql(s"insert into a values ($i)")
```

Please review http://spark.apache.org/contributing.html before opening a pull request.
Closes #22650 from shahidki31/SPARK-25575-followUp.
Authored-by: Shahid <sh...@gmail.com>
Signed-off-by: Sean Owen <se...@databricks.com>
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/756a3ab1
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/756a3ab1
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/756a3ab1
Branch: refs/heads/master
Commit: 756a3ab18c2032f3e84e5591725ec713e3e22726
Parents: b0cee96
Author: Shahid <sh...@gmail.com>
Authored: Sat Oct 6 17:12:41 2018 -0500
Committer: Sean Owen <se...@databricks.com>
Committed: Sat Oct 6 17:12:41 2018 -0500
----------------------------------------------------------------------
core/src/main/resources/org/apache/spark/ui/static/webui.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/756a3ab1/core/src/main/resources/org/apache/spark/ui/static/webui.js
----------------------------------------------------------------------
diff --git a/core/src/main/resources/org/apache/spark/ui/static/webui.js b/core/src/main/resources/org/apache/spark/ui/static/webui.js
index 12c056a..b1254e0 100644
--- a/core/src/main/resources/org/apache/spark/ui/static/webui.js
+++ b/core/src/main/resources/org/apache/spark/ui/static/webui.js
@@ -83,7 +83,7 @@ $(function() {
collapseTablePageLoad('collapse-aggregated-rdds','aggregated-rdds');
collapseTablePageLoad('collapse-aggregated-activeBatches','aggregated-activeBatches');
collapseTablePageLoad('collapse-aggregated-completedBatches','aggregated-completedBatches');
- collapseTablePageLoad('collapse-aggregated-runningExecutions','runningExecutions');
- collapseTablePageLoad('collapse-aggregated-completedExecutions','completedExecutions');
- collapseTablePageLoad('collapse-aggregated-failedExecutions','failedExecutions');
+ collapseTablePageLoad('collapse-aggregated-runningExecutions','aggregated-runningExecutions');
+ collapseTablePageLoad('collapse-aggregated-completedExecutions','aggregated-completedExecutions');
+ collapseTablePageLoad('collapse-aggregated-failedExecutions','aggregated-failedExecutions');
});
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org