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)")
```
![screenshot from 2018-10-06 
10-19-30](https://user-images.githubusercontent.com/23054875/46567490-59bea380-c951-11e8-9484-9aa2ee84b816.png)

Please review http://spark.apache.org/contributing.html before opening a pull 
request.

Closes #22650 from shahidki31/SPARK-25575-followUp.

Authored-by: Shahid <[email protected]>
Signed-off-by: Sean Owen <[email protected]>


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 <[email protected]>
Authored: Sat Oct 6 17:12:41 2018 -0500
Committer: Sean Owen <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to