Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21D3F17738 for ; Sat, 14 Mar 2015 19:57:39 +0000 (UTC) Received: (qmail 33910 invoked by uid 500); 14 Mar 2015 19:57:38 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 33716 invoked by uid 500); 14 Mar 2015 19:57:38 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 33599 invoked by uid 99); 14 Mar 2015 19:57:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Mar 2015 19:57:38 +0000 Date: Sat, 14 Mar 2015 19:57:38 +0000 (UTC) From: "Sean Hsuan-Yi Chu (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-2229) SQL syntax errors should use SQLSyntaxErrorException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)