Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33AE99BBC for ; Mon, 14 Nov 2011 14:13:16 +0000 (UTC) Received: (qmail 44756 invoked by uid 500); 14 Nov 2011 14:13:15 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 44680 invoked by uid 500); 14 Nov 2011 14:13:15 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 44665 invoked by uid 500); 14 Nov 2011 14:13:15 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 44662 invoked by uid 99); 14 Nov 2011 14:13:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2011 14:13:15 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2011 14:13:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E1E1482CCE for ; Mon, 14 Nov 2011 14:12:51 +0000 (UTC) Date: Mon, 14 Nov 2011 14:12:51 +0000 (UTC) From: "Priyadarshini (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1219674881.26752.1321279971926.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <718673866.30401.1308776687375.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2235) Getting an SQLException when requesting Metadata about column 5 of Connection.getColumns() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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