GitHub user LantaoJin opened a pull request:

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

    [SPARK-23653][SQL] Show sql statement in spark SQL UI

    ## What changes were proposed in this pull request?
    
    [SPARK-4871](https://issues.apache.org/jira/browse/SPARK-4871) had already 
added the sql statement in job description for using spark-sql. But it has some 
problems:
    
    1. long sql statement cannot be displayed in description column. 
    ![screen shot 2018-03-12 at 14 25 
51](https://user-images.githubusercontent.com/1853780/37287438-c833385e-263f-11e8-86ea-0f8ebb9b151e.png)
    
    2. sql statement submitted in spark-shell or spark-submit cannot be covered.
    ![screen shot 2018-03-12 at 20 16 
23](https://user-images.githubusercontent.com/1853780/37287410-bde5166a-263f-11e8-8435-8db29a2eef33.png)
    
    ## How was this patch tested?
    ![screen shot 2018-03-12 at 20 16 
14](https://user-images.githubusercontent.com/1853780/37287388-af8811f8-263f-11e8-93f0-c052f0b322f8.png)
    


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

    $ git pull https://github.com/LantaoJin/spark SPARK-23653

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

    https://github.com/apache/spark/pull/20803.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 #20803
    
----
commit 9d2098db3e082de0deb1c6cfea7527d04f3f5d03
Author: LantaoJin <jinlantao@...>
Date:   2018-03-12T13:43:06Z

    [SPARK-23653][SQL] Show sql statement in spark SQL UI

----


---

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

Reply via email to