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 94E5A1776A for ; Wed, 21 Jan 2015 00:47:36 +0000 (UTC) Received: (qmail 17707 invoked by uid 500); 21 Jan 2015 00:47:35 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 17569 invoked by uid 500); 21 Jan 2015 00:47:35 -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 17446 invoked by uid 99); 21 Jan 2015 00:47:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 00:47:35 +0000 Date: Wed, 21 Jan 2015 00:47:35 +0000 (UTC) From: "Venki Korukanti (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-1970) Hive views must not be listed with the show tables command 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-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284923#comment-14284923 ] Venki Korukanti commented on DRILL-1970: ---------------------------------------- Not sure why we have to hide the views. We are anyway displaying a proper message (DRILL-1969) when user tries to query a hive view. Not showing the views may look like a bug as the user sees different number of tables in hive vs in drill in show tables output. > Hive views must not be listed with the show tables command > ---------------------------------------------------------- > > Key: DRILL-1970 > URL: https://issues.apache.org/jira/browse/DRILL-1970 > Project: Apache Drill > Issue Type: Bug > Components: Storage - Hive > Reporter: Abhishek Girish > Assignee: Deneche A. Hakim > > This is related to DRILL-1969. > Until Drill can support querying of Hive Views, hive views metadata must not be visible upon issuing the "show tables" command. > > use hive; > +------------+------------+ > | ok | summary | > +------------+------------+ > | true | Default schema changed to 'hive' | > +------------+------------+ > Currently Observed: > > show tables ; > +--------------+------------+ > | TABLE_SCHEMA | TABLE_NAME | > +--------------+------------+ > | hive.default | table1 | > | hive.default | table2 | > | hive.default | table1_view1 | > | hive.default | table2_view1 | > ... > +--------------+------------+ > Expected: > > show tables ; > +--------------+------------+ > | TABLE_SCHEMA | TABLE_NAME | > +--------------+------------+ > | hive.default | table1 | > | hive.default | table2 | > +--------------+------------+ -- This message was sent by Atlassian JIRA (v6.3.4#6332)