You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2015/04/18 02:12:58 UTC
[jira] [Created] (DRILL-2818) Error message must be updated when
query fails with FileNotFoundException
Abhishek Girish created DRILL-2818:
--------------------------------------
Summary: Error message must be updated when query fails with FileNotFoundException
Key: DRILL-2818
URL: https://issues.apache.org/jira/browse/DRILL-2818
Project: Apache Drill
Issue Type: Bug
Components: SQL Parser
Affects Versions: 0.9.0
Environment: exception branch
Reporter: Abhishek Girish
Assignee: Aman Sinha
When user specifies a non-existent file/directory in a query, the following error is being thrown:
{code:sql}
> show files from dfs.tmp.`tpch`;
Query failed: SYSTEM ERROR: Failure handling SQL.
[9184097e-8339-42d3-96ce-1fba51c6bc78 on 192.168.158.107:31010]
Error: exception while executing query: Failure while executing query. (state=,code=0)
{code}
This should be updated to
{code:sql}
> show files from dfs.tmp.`tpch`;
Query failed: File /tmp/tpch does not exist.
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)