reena upadhyay created HIVE-11509: ------------------------------------- Summary: 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 Reporter: reena upadhyay
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)