You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alex Piyevsky (JIRA)" <ji...@apache.org> on 2011/06/22 23:08:47 UTC

[jira] [Updated] (HIVE-2235) Getting an SQLException when requesting Metadata about column 5 of Connection.getColumns()

     [ https://issues.apache.org/jira/browse/HIVE-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Piyevsky updated HIVE-2235:
--------------------------------

    Attachment: repro3.log
                repro3.java
                repro3.class

Adding repro materials, please let me know if more information is required 

> 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
> 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