You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mythili Gopalakrishnan (JIRA)" <ji...@apache.org> on 2011/08/08 13:18:27 UTC

[jira] [Commented] (HIVE-2315) DatabaseMetadata.getColumns() does not return partition column names for a table

    [ https://issues.apache.org/jira/browse/HIVE-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080900#comment-13080900 ] 

Mythili Gopalakrishnan commented on HIVE-2315:
----------------------------------------------

- I applied this patch and confirm that it fixes this issue HIVE-2315.
- However it does NOT fix issue HIVE-1573. When I do a select * from a partitioned column, I don't see the partition columns as part of the resultset.

> DatabaseMetadata.getColumns() does not return partition column names for a table
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-2315
>                 URL: https://issues.apache.org/jira/browse/HIVE-2315
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.7.1
>            Reporter: Mythili Gopalakrishnan
>            Assignee: Patrick Hunt
>            Priority: Critical
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2315.patch
>
>
> getColumns() method of DatabaseMetadata for HIVE JDBC Driver does not return the partition column names. Where as from HIVE CLI, if you do a 'describe tablename' you get all columns including the partition columns. It would be nice if getColumns() method returns all columns.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira