GitHub user wangyum opened a pull request:

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

    [MINOR][SQL] Set AddJarCommand return empty

    ## What changes were proposed in this pull request?
    
    Only `AddJarCommand` return `0`, the user will be confused about what it 
means. This PR sets it to empty.
    
    ```sql
    spark-sql> add jar 
/Users/yumwang/spark/sql/hive/src/test/resources/TestUDTF.jar;
    ADD JAR /Users/yumwang/spark/sql/hive/src/test/resources/TestUDTF.jar
    0
    spark-sql>
    ```
    
    ## How was this patch tested?
    
    manual tests


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

    $ git pull https://github.com/wangyum/spark AddJarCommand

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

    https://github.com/apache/spark/pull/22747.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 #22747
    
----
commit 0a5b0ddd6b17381b5ff9d2f0b4c437bdddd6c6a6
Author: Yuming Wang <yumwang@...>
Date:   2018-10-16T12:36:13Z

    Fix AddJarCommand result

----


---

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

Reply via email to