Getting an SQLException when requesting Metadata about column 5 of
Connection.getColumns()
------------------------------------------------------------------------------------------
Key: HIVE-2235
URL: https://issues.apache.org/jira/browse/HIVE-2235
Project: Hive
Issue Type: Bug
Components: JDBC
Affects Versions: 0.7.0
Environment: Connecting from 32bit Windows via JDBC to a Hive
installation on Linux Kernel-2.6.18-glibc-2.5 x86_64 64bit
Reporter: Alex Piyevsky
Getting an SQLException when requesting Metadata about column 5 of
Connection.getColumns() answer set.
Failure occurs when invoking DatabaseMetaData.getColumnType(5), resulting in:
java.sql.SQLException: Unrecognized column type: I32
I have a stand-alone repro but I'm not sure how to upload it here, please advise
Here is the log that the repro generates:
BUG SYNOPSIS: Getting error
"Unrecognized column type: I32"
returned by
DatabaseMetadata.getColumnType(5) method call
*********************************************
DriverManager.getConnection
Back from connecting
Executing DatabaseMetaData.getColumns(null,null,"sergio",null)
Print column types for columns of getColumns() answer set
Column Type for column 1 is 12
Column Type for column 2 is 12
Column Type for column 3 is 12
Column Type for column 4 is 12
*** SQLException caught ***
SQLState: null
Message: Unrecognized column type: I32
Vendor: 0
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira