GitHub user prabhjyotsingh opened a pull request:

    https://github.com/apache/zeppelin/pull/1142

    [ZEPPELIN-1127] Show error message in case of exception with JDBC

    ### What is this PR for?
    When there is exception while executeSql in JDBC interpreter, only stack 
trace is sent back to UI, it should include e.getMessage() as well.
    
    
    
    ### What type of PR is it?
    [Improvement]
    
    
    ### What is the Jira issue?
    * [ZEPPELIN-1127](https://issues.apache.org/jira/browse/ZEPPELIN-1127)
    
    ### How should this be tested?
    Create a paragraph, and write following and try to run
    
    ```
    %phoenix
    select * from a_table_not_there
    ```
    
    You should see below, followed by stack trace 
    ```
    ERROR 1012 (42M03): Table undefined. tableName=A_TABLE_NOT_THERE
    ```
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no
    


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

    $ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-1127

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

    https://github.com/apache/zeppelin/pull/1142.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 #1142
    
----
commit 9fcc53c1b4812f8785596735a5bc345bb8db6f29
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2016-07-07T07:24:11Z

    Show error message in case of exception with JDBC

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to