-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-25575][WEBUI][SQL] SQL tab in the spark UI support hide tables, to make it consistent with other tabs. #22592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…how features, when the table records very much.
srowen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's OK. Do you need to collapse this one table though? It's the only thing on the page.
CC @ajbozarth in case he's still watching.
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
Show resolved
Hide resolved
|
Thanks @srowen for reviewing.
There are 'Running', 'Completed' and 'Failed' tables in the SQL page. Similar to the Jobs page. |
ajbozarth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@srowen I'm still watching, just too busy to review the larger PRs usually. This LGTM, nice to see more tables being collapsible.
|
Thank you for the review @ajbozarth . |
srowen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That all makes sense, I see it now. I think this is a fine change.
|
Thank you @srowen . |
|
Hi @srowen , @ajbozarth . Could you please merge the code, if there are no further comments. |
|
@shahidki31 when changes aren't urgent, we usually leave them open at least a few days for comments. No need to ping unless it's been a week or something. |
|
Test build #4355 has finished for PR 22592 at commit
|
|
Merged to master |
|
Thank you @srowen for merging. |
…, to make it consistent with other tabs. ## What changes were proposed in this pull request? Currently, SQL tab in the WEBUI doesn't support hiding table. Other tabs in the web ui like, Jobs, stages etc supports hiding table (refer SPARK-23024 apache#20216). In this PR, added the support for hide table in the sql tab also. ## 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)") ``` Open SQL tab in the web UI **Before fix:**  **After fix:** Consistent with the other tabs.  (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this patch involves UI changes, please attach a screenshot; otherwise, remove this) Please review http://spark.apache.org/contributing.html before opening a pull request. Closes apache#22592 from shahidki31/SPARK-25575. Authored-by: Shahid <[email protected]> Signed-off-by: Sean Owen <[email protected]>
…ables ## What changes were proposed in this pull request? After the PR, apache#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 apache#22650 from shahidki31/SPARK-25575-followUp. Authored-by: Shahid <[email protected]> Signed-off-by: Sean Owen <[email protected]>
…s, to make it consistent with other tabs ### What changes were proposed in this pull request? Currently, JDBC/ODBC tab in the WEBUI doesn't support hiding table. Other tabs in the web ui like, Jobs, stages, SQL etc supports hiding table (refer #22592). In this PR, added the support for hide table in the jdbc/odbc tab also. ### Why are the changes needed? Spark ui about the contents of the form need to have hidden and show features, when the table records very much. Because sometimes you do not care about the record of the table, you just want to see the contents of the next table, but you have to scroll the scroll bar for a long time to see the contents of the next table. ### Does this PR introduce any user-facing change? No, except support of hide table ### How was this patch tested? Manually tested   Closes #26353 from shahidki31/hideTable. Authored-by: shahid <[email protected]> Signed-off-by: Sean Owen <[email protected]>


What changes were proposed in this pull request?
Currently, SQL tab in the WEBUI doesn't support hiding table. Other tabs in the web ui like, Jobs, stages etc supports hiding table (refer SPARK-23024 #20216).
In this PR, added the support for hide table in the sql tab also.
How was this patch tested?
bin/spark-shell
Open SQL tab in the web UI
Before fix:
After fix: Consistent with the other tabs.
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.