hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mythili Gopalakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2315) DatabaseMetadata.getColumns() does not return partition column names for a table
Date Mon, 08 Aug 2011 17:18:27 GMT

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

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

Patrick

This is exactly what I have done as well. I use a tool called DBVizualizer, very similar to
Squirrel. When I click on foo2, I see the partition columns, but when I do a select *, I don't
see the partition columns.

One thing I noticed (please pardon my ignorance as I have not had a chance to look deep into
the HIVE JDBC driver source code) is that the patch listed only 2 files to patch, HiveDatabaseMetaData.java
and TestJdbcDriver.java. Is it missing some other file that would have included the changes
for the query part?

Thanks,
Mythili 

> 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

        

Mime
View raw message