[
https://issues.apache.org/jira/browse/DRILL-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539040#comment-14539040
]
Aman Sinha edited comment on DRILL-2229 at 5/12/15 1:22 AM:
------------------------------------------------------------
+1 for the patch.
Can you pls add couple of examples of the error message after the patch:
- parse error
- unsupported operation exception
was (Author: amansinha100):
+1
> SQL syntax errors should use SQLSyntaxErrorException
> ----------------------------------------------------
>
> Key: DRILL-2229
> URL: https://issues.apache.org/jira/browse/DRILL-2229
> Project: Apache Drill
> Issue Type: Bug
> Components: SQL Parser
> Reporter: Daniel Barclay (Drill)
> Assignee: Aman Sinha
> Fix For: 1.2.0
>
> Attachments: DRILL-2229.1.patch
>
>
> SQL syntax errors should be reported with SQLSyntaxErrorException (or
> subclasses, of course) rather than SQLException (in part so that when they
> get to the JDBC interface they can be reported at intended using
> SQLSyntaxErrorException .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)