You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Boris Shminke (JIRA)" <ji...@apache.org> on 2016/07/05 09:59:11 UTC

[jira] [Created] (ZEPPELIN-1116) JDBC Interpreter does not return SQL error messages

Boris Shminke created ZEPPELIN-1116:
---------------------------------------

             Summary: JDBC Interpreter does not return SQL error messages
                 Key: ZEPPELIN-1116
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1116
             Project: Zeppelin
          Issue Type: Improvement
    Affects Versions: 0.6.0
            Reporter: Boris Shminke


When one creates a JDBC cell like this:

{{
%jdbc (hive)

selec 1
}}

Zeppelin responds with "class org.apache.hive.service.cli.HiveSQLException" and a long Java stack trace which is absolutely useless for debugging SQL statements.

It would be better to respond with Hive error like this:

Error while compiling statement: FAILED: ParseException line 1:0 cannot recognize input near 'selec' '1' ''

as it was the case in old Hive Interpreter in Zeppelin 0.5.6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)