Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7358410446 for ; Thu, 22 Jan 2015 19:06:39 +0000 (UTC) Received: (qmail 74213 invoked by uid 500); 22 Jan 2015 19:06:37 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 74103 invoked by uid 500); 22 Jan 2015 19:06:37 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 73880 invoked by uid 500); 22 Jan 2015 19:06:37 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 73877 invoked by uid 99); 22 Jan 2015 19:06:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2015 19:06:37 +0000 Date: Thu, 22 Jan 2015 19:06:37 +0000 (UTC) From: "Jason Dere (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9446) JDBC DatabaseMetadata.getColumns() does not work for temporary tables 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/HIVE-9446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9446: ----------------------------- Attachment: HIVE-9446.1.patch Hive temp tables use SessionHiveMetaStoreClient to override certain methods of HiveMetaStoreClient to allow the metadata API calls to support temp tables. getColumns() uses getSchema(), which was not overridden in SessionHiveMetaStoreClient. Attaching patch which overrides getSchema() and test case. > JDBC DatabaseMetadata.getColumns() does not work for temporary tables > --------------------------------------------------------------------- > > Key: HIVE-9446 > URL: https://issues.apache.org/jira/browse/HIVE-9446 > Project: Hive > Issue Type: Bug > Components: JDBC > Affects Versions: 0.14.0 > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-9446.1.patch > > > After creating temporary table, calling DatabaseMetadData.getColumns() hits error "UnknownTableException(message:default.tmp_07 table not found)" -- This message was sent by Atlassian JIRA (v6.3.4#6332)