[
https://issues.apache.org/jira/browse/DRILL-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deneche A. Hakim closed DRILL-1725.
-----------------------------------
Resolution: Fixed
Tried to reproduce using a wrong file name and got the following exception:
{noformat}
0: jdbc:drill:zk=local> select * from dfs.data.`test.jso`;
Mar 11, 2015 8:39:25 AM org.eigenbase.sql.validate.SqlValidatorException <init>
SEVERE: org.eigenbase.sql.validate.SqlValidatorException: Table
'dfs.data.test.jso' not found
Mar 11, 2015 8:39:25 AM org.eigenbase.util.EigenbaseException <init>
SEVERE: org.eigenbase.util.EigenbaseContextException: From line 1, column 15 to
line 1, column 17: Table 'dfs.data.test.jso' not found
Query failed: SqlValidatorException: Table 'dfs.data.test.jso' not found
Error: exception while executing query: Failure while executing query.
(state=,code=0)
{noformat}
> Generic error message
> ---------------------
>
> Key: DRILL-1725
> URL: https://issues.apache.org/jira/browse/DRILL-1725
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Flow
> Reporter: Tomer Shiran
> Assignee: Jacques Nadeau
> Fix For: 0.8.0
>
>
> Drill displays a generic error message (exception while executing query)
> instead of explaining what the issue is. In this example, the path doesn't
> exist (notice "jso" instead of "json") but the error message didn't explain
> that.
> {code}
> 0: jdbc:drill:zk=localhost:2181> SELECT * FROM
> dfs.root.`/Users/tshiran/Development/demo/data/yelp/user.jso`;
> Query failed: Failure while running sql.
> Error: exception while executing query: Failure while executing query.
> (state=,code=0)
> 0: jdbc:drill:zk=localhost:2181>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)