GitHub user nblintao opened a pull request:

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

    [SPARK-13547] [SQL] [WEBUI] Add SQL query in web UI's SQL Tab

    ## What changes were proposed in this pull request?
    
    For the web UI, this PR adds the raw SQL query text for each execution in 
the new column "SQL Text" in the SQL Tab. If the execution has no related query 
text, just show "-".
    
    To achieve this, it also passes the SQL text from the parser to the 
execution UI data, through the logical plan.
    
    ## How was this patch tested?
    
    Tested by trying multiple SQL queries.
    
    A snapshop of the SQL Tab:
    
![sqltext](https://cloud.githubusercontent.com/assets/5558370/16775509/8f76540e-4826-11e6-97f4-cca923a1c485.png)
    
    
    


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

    $ git pull https://github.com/nblintao/spark addQueryToUi

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

    https://github.com/apache/spark/pull/14158.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 #14158
    
----
commit 626f3f74fb3fa09dd781c4e11d7412776fe06970
Author: Tao Lin <[email protected]>
Date:   2016-07-12T15:53:30Z

    add SQL query texts in the web UI

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to