You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Steffen Lutter (Commented) (JIRA)" <ji...@apache.org> on 2012/01/18 15:48:40 UTC

[jira] [Commented] (HIVE-2703) ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns irrespective of partition column type

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

Steffen Lutter commented on HIVE-2703:
--------------------------------------

I encountered this issue as well and it would require me some efforts to work around this, so I'd be really happy if this will be fixed!
                
> ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns irrespective of partition column type
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2703
>                 URL: https://issues.apache.org/jira/browse/HIVE-2703
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.8.0
>            Reporter: Mythili Gopalakrishnan
>            Priority: Critical
>
> ResultSetMetaData.getColumnType() always returns VARCHAR(string) as column type, no matter what the column type is for the partition column.
> However DatabaseMetadata.getColumnType() returns correct type. 
> Create a table with a partition column having a type other than string, you will see that ResultSet.getColumnType() always returns string as the type for int or boolean or float columns...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira