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 3197317A5A for ; Fri, 24 Oct 2014 22:50:56 +0000 (UTC) Received: (qmail 55722 invoked by uid 500); 24 Oct 2014 22:50:56 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 55695 invoked by uid 500); 24 Oct 2014 22:50:56 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 55686 invoked by uid 99); 24 Oct 2014 22:50:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 22:50:56 +0000 X-ASF-Spam-Status: No, hits=-2001.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 24 Oct 2014 22:50:54 +0000 Received: (qmail 50981 invoked by uid 99); 24 Oct 2014 22:50:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 22:50:33 +0000 Date: Fri, 24 Oct 2014 22:50:33 +0000 (UTC) From: "Norris Lee (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1532) Query fails when specifying table name with column name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norris Lee updated DRILL-1532: ------------------------------ Description: When the schema name is specified in the column names, the query fails with a table not found error. {code} 0: jdbc:drill:zk=localhost:5181> SELECT `hive43.default`.double_table.keycolumn, `hive43.default`.double_table.column1 FROM `hive43.default`.double_table; Query failed: Failure while parsing sql. Table 'hive43.default' not found [010fac69-c747-41f8-b5ec-274428c78a73] Error: exception while executing query: Failure while trying to get next result batch. (state=,code=0) {code} was: When the table name is specified in the column names, the query fails with a table not found error. {code} 0: jdbc:drill:zk=localhost:5181> SELECT `hive43.default`.double_table.keycolumn, `hive43.default`.double_table.column1 FROM `hive43.default`.double_table; Query failed: Failure while parsing sql. Table 'hive43.default' not found [010fac69-c747-41f8-b5ec-274428c78a73] Error: exception while executing query: Failure while trying to get next result batch. (state=,code=0) {code} > Query fails when specifying table name with column name > ------------------------------------------------------- > > Key: DRILL-1532 > URL: https://issues.apache.org/jira/browse/DRILL-1532 > Project: Apache Drill > Issue Type: Bug > Reporter: Norris Lee > Fix For: 0.7.0 > > > When the schema name is specified in the column names, the query fails with a table not found error. > {code} > 0: jdbc:drill:zk=localhost:5181> SELECT `hive43.default`.double_table.keycolumn, `hive43.default`.double_table.column1 FROM `hive43.default`.double_table; > Query failed: Failure while parsing sql. Table 'hive43.default' not found [010fac69-c747-41f8-b5ec-274428c78a73] > Error: exception while executing query: Failure while trying to get next result batch. (state=,code=0) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)