GitHub user shahidki31 opened a pull request:

    https://github.com/apache/spark/pull/22592

    [SPARK-25575][WEBUI][SQL] SQL tab in the spark UI support hide tables, 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 
https://github.com/apache/spark/pull/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:**
     
    
![image](https://user-images.githubusercontent.com/23054875/46249137-f5c44880-c441-11e8-953a-a811e33ac24d.png)
    
    **After fix:**
    
    ![screenshot from 2018-09-30 
00-11-28](https://user-images.githubusercontent.com/23054875/46249354-75074b80-c445-11e8-9417-28751fd8628a.png)
    
    
    (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.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shahidki31/spark SPARK-25575

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22592.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 #22592
    
----
commit ef40698e107090d69e06f41194eb68673791b6d8
Author: Shahid <shahidki31@...>
Date:   2018-09-29T16:48:07Z

    Spark SQL ui about the contents of the form need to have hidden and show 
features, when the table records very much.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to