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