[
https://issues.apache.org/jira/browse/DRILL-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jinfeng Ni updated DRILL-1635:
------------------------------
Attachment: 0002-DRILL-1635-Propagate-detailed-error-information-when.patch
> Details on SQL error doesn't propagate
> ---------------------------------------
>
> Key: DRILL-1635
> URL: https://issues.apache.org/jira/browse/DRILL-1635
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Neeraja
> Assignee: Jinfeng Ni
> Priority: Critical
> Attachments:
> 0002-DRILL-1635-Propagate-detailed-error-information-when.patch
>
>
> Executing any SQL query with incorrect syntax produces errors that do not
> pinpoint the problem areas , but throws a generic failure parsing sql
> exception.
> Expect to see more specific/actionable message.
> 0: jdbc:drill:zk=local> select count(*) from
> dfs.`/users/nrentachintala/Downloads/yelp_dataset_challenge_academic_dataset/yelp_academic_dataset_business.json`
> b where true=repeated_contains(b.categories,’Restaurants’);
> Query failed: Failure while parsing sql.
> Error: exception while executing query: Failure while executing query.
> (state=,code=0)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)