You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2015/03/14 20:57:38 UTC

[jira] [Commented] (DRILL-2229) SQL syntax errors should use SQLSyntaxErrorException

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

Sean Hsuan-Yi Chu commented on DRILL-2229:
------------------------------------------

Can we be more specific here? 

Did you mean the exception which would be thrown when optiq parses input SQL string (which is SqlParseException)? 


> 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: Sean Hsuan-Yi Chu
>             Fix For: 1.0.0
>
>
> 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)