[ https://issues.apache.org/jira/browse/HIVE-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149635#comment-13149635 ]
Priyadarshini commented on HIVE-2235: ------------------------------------- For repro3.java, I have verified with the trunk code. After getting the ColumnType from the ResultSetMetaData, i am not getting any SQL Exception. > 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 > Attachments: repro3.class, repro3.java, repro3.log > > > 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 > Repro materials are attached, please let me know if more info is required > 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. 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