drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Kishore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1635) Details on SQL error doesn't propagate
Date Wed, 05 Nov 2014 08:05:34 GMT

    [ https://issues.apache.org/jira/browse/DRILL-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197812#comment-14197812
] 

Aditya Kishore commented on DRILL-1635:
---------------------------------------

I am +1 on the 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
>          Components: Execution - Flow
>            Reporter: Neeraja
>            Assignee: Jinfeng Ni
>            Priority: Critical
>             Fix For: 0.7.0
>
>         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.
> {code:sql}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message