hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Zanter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11509) getColumnTypeName method of ResultSetMetaData does not works for UNIONTYPE column
Date Thu, 11 Feb 2016 13:56:18 GMT

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

David Zanter commented on HIVE-11509:
-------------------------------------

And also Hive 1.2.1 (hortonworks 2.3)

> getColumnTypeName method of ResultSetMetaData does not works for UNIONTYPE column
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-11509
>                 URL: https://issues.apache.org/jira/browse/HIVE-11509
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 1.0.0, 1.1.0, 1.2.1
>            Reporter: reena upadhyay
>            Priority: Critical
>
> I am executing a simple select query on table with uniontype column. Hive already has
a support for creating table with uniontype data type. Now when I am trying to fetch the column
type information using  getColumnTypeName(i+1) method of ResultSetMetaData using hive-jdbc
1.0.0 version, getting below exception:
> 2015-08-10 16:00:07 ERROR ExecuteStatementOperation:114 - java.sql.SQLException: Unrecognized
column type: UNIONTYPE
> 	at org.apache.hive.jdbc.JdbcColumn.getColumnTypeName(JdbcColumn.java:185)
> 	at org.apache.hive.jdbc.HiveResultSetMetaData.getColumnTypeName(HiveResultSetMetaData.java:78)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message