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 007C110D7D for ; Thu, 29 May 2014 19:41:23 +0000 (UTC) Received: (qmail 67153 invoked by uid 500); 29 May 2014 19:41:22 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 67127 invoked by uid 500); 29 May 2014 19:41:22 -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 67118 invoked by uid 99); 29 May 2014 19:41:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2014 19:41:22 +0000 X-ASF-Spam-Status: No, hits=-2000.7 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; Thu, 29 May 2014 19:41:21 +0000 Received: (qmail 66831 invoked by uid 99); 29 May 2014 19:41:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2014 19:41:01 +0000 Date: Thu, 29 May 2014 19:41:01 +0000 (UTC) From: "Rahul Challapalli (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-858) When we have a view in hive, none of the Information Schema queries work 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-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012783#comment-14012783 ] Rahul Challapalli commented on DRILL-858: ----------------------------------------- Querying against any table in INFORMATION_SCHEMA is giving the same problem. > When we have a view in hive, none of the Information Schema queries work > ------------------------------------------------------------------------ > > Key: DRILL-858 > URL: https://issues.apache.org/jira/browse/DRILL-858 > Project: Apache Drill > Issue Type: Bug > Components: Metadata, Storage - Hive > Reporter: Rahul Challapalli > Attachments: lilith.log, rankings.txt > > > Following the below steps can reproduce the error. I attached the lilith logs and data files to the jira > git.commit.id.abbrev=70fab8c > hive> DROP TABLE IF EXISTS rankings; > CREATE EXTERNAL TABLE rankings ( > pageRank INT, > pageURL STRING, > avgDuration INT > ) > ROW FORMAT DELIMITED FIELDS > TERMINATED BY '|' > STORED AS TEXTFILE LOCATION "/drill/testdata/views/hive/rankings/"; > CREATE VIEW v1 AS SELECT * FROM RANKINGS; > drill> select * from INFORMATION_SCHEMA.`TABLES`; > Note : There could be a lag between creating a view in hive and drill picking it up. So we might need to wait for sometime before hitting the error -- This message was sent by Atlassian JIRA (v6.2#6252)