drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanifi Gunes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-1181) make sqlline error messages more user friendly
Date Wed, 23 Jul 2014 21:20:39 GMT
Hanifi Gunes created DRILL-1181:
-----------------------------------

             Summary: 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: Hanifi Gunes


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)

Mime
View raw message