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:04:47 UTC
[jira] [Created] (HIVE-2235) Getting an SQLException when
requesting Metadata about column 5 of Connection.getColumns()
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
[jira] [Updated] (HIVE-2235) Getting an SQLException when
requesting Metadata about column 5 of Connection.getColumns()
Posted by "Alex Piyevsky (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (HIVE-2235) Getting an SQLException when
requesting Metadata about column 5 of Connection.getColumns()
Posted by "Priyadarshini (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (HIVE-2235) Getting an SQLException when
requesting Metadata about column 5 of Connection.getColumns()
Posted by "Alex Piyevsky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Piyevsky updated HIVE-2235:
--------------------------------
Description:
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
was:
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
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira