You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/07/27 20:51:44 UTC
[jira] [Commented] (DRILL-1181) make sqlline error messages more
user friendly
[ https://issues.apache.org/jira/browse/DRILL-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075696#comment-14075696 ]
Jacques Nadeau commented on DRILL-1181:
---------------------------------------
Fixed by caa8b78 or earlier
> make sqlline error messages more user friendly
> ----------------------------------------------
>
> Key: DRILL-1181
> URL: https://issues.apache.org/jira/browse/DRILL-1181
> Project: Apache Drill
> Issue Type: Improvement
> Components: Client - JDBC, Execution - RPC
> Reporter: Hanifi Gunes
> Assignee: DrillCommitter
> Fix For: 0.4.0
>
> Attachments: DRILL-1181.1.patch.txt, DRILL-1181.2.patch.txt
>
>
> Current sqlline messages are not quite end user friendly. Say, running a simple query [select * from NOT_HERE;] produces the output below. We should prettify the error messages shown to end user.
> 0: jdbc:drill:zk> select * from NOT_HERE;
> select * from NOT_HERE;
> Query failed: Remote failure while running query.[error_id: "af7f4b8d-b556-49d0-a6c2-a8f27d4d8b1f"
> Error: exception while executing query (state=,code=0)
> endpoint {
> address: "192.168.168.122"
> user_port: 31010
> control_port: 31011
> data_port: 31012
> }
> error_type: 0
> message: "Failure while parsing sql. < ValidationException:[ org.eigenbase.util.EigenbaseContextException: From line 1, column 15 to line 1, column 22 ] < EigenbaseContextException:[ From line 1, column 15 to line 1, column 22 ] < SqlValidatorException:[ Table 'NOT_HERE' not found ]"
> ]
--
This message was sent by Atlassian JIRA
(v6.2#6252)