[ https://issues.apache.org/jira/browse/HIVE-11509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142732#comment-15142732 ]
David Zanter commented on HIVE-11509: ------------------------------------- I'm also able to reproduce this on Hive 1.1.0 (cloudera 5.4) > 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 > 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)