Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 48426 invoked from network); 25 May 2010 19:32:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 19:32:50 -0000 Received: (qmail 3533 invoked by uid 500); 25 May 2010 19:32:50 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 3499 invoked by uid 500); 25 May 2010 19:32:50 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 3491 invoked by uid 99); 25 May 2010 19:32:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 19:32:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 19:32:48 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4PJWQYP027718 for ; Tue, 25 May 2010 19:32:27 GMT Message-ID: <13593658.42051274815946744.JavaMail.jira@thor> Date: Tue, 25 May 2010 15:32:26 -0400 (EDT) From: "John Sichi (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1126) Missing some Jdbc functionality like getTables getColumns and HiveResultSet.get* methods based on column name. In-Reply-To: <1261612723.301265194408104.JavaMail.jira@brutus.apache.org> 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-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871312#action_12871312 ] John Sichi commented on HIVE-1126: ---------------------------------- See also HIVE-1368. > Missing some Jdbc functionality like getTables getColumns and HiveResultSet.get* methods based on column name. > -------------------------------------------------------------------------------------------------------------- > > Key: HIVE-1126 > URL: https://issues.apache.org/jira/browse/HIVE-1126 > Project: Hadoop Hive > Issue Type: Improvement > Components: Clients > Affects Versions: 0.6.0 > Reporter: Bennie Schut > Assignee: Bennie Schut > Priority: Minor > Fix For: 0.6.0 > > Attachments: HIVE-1126-1.patch, HIVE-1126.patch > > > I've been using the hive jdbc driver more and more and was missing some functionality which I added > HiveDatabaseMetaData.getTables > Using "show tables" to get the info from hive. > HiveDatabaseMetaData.getColumns > Using "describe tablename" to get the columns. > This makes using something like SQuirreL a lot nicer since you have the list of tables and just click on the content tab to see what's in the table. > I also implemented > HiveResultSet.getObject(String columnName) so you call most get* methods based on the column name. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.