hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9446) JDBC DatabaseMetadata.getColumns() does not work for temporary tables
Date Thu, 22 Jan 2015 19:06:37 GMT

     [ 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)

Mime
View raw message