hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bennie Schut (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1126) Missing some Jdbc functionality like getTables getColumns and HiveResultSet.get* methods based on column name.
Date Sat, 24 Jul 2010 07:25:53 GMT

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

Bennie Schut updated HIVE-1126:

    Attachment: HIVE-1126-5.patch

Somehow the previous patch was incomplete. not sure why but this was it's state on svn:
A  +    src/java/org/apache/hadoop/hive/jdbc/HiveQueryResultSet.java
I removed it and added it again and now the patch is complete again:

patch -p0 --dry-run < HIVE-1126-5.patch
patching file jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveCallableStatement.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveBaseResultSet.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveResultSet.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveResultSetMetaData.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveMetaDataResultSet.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/JdbcTable.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/JdbcColumn.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveStatement.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java
patching file jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveQueryResultSet.java

> 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.7.0
>            Reporter: Bennie Schut
>            Assignee: Bennie Schut
>             Fix For: 0.7.0
>         Attachments: HIVE-1126-1.patch, HIVE-1126-2.patch, HIVE-1126-3.patch, HIVE-1126-4.patch,
HIVE-1126-5.patch, HIVE-1126.patch, HIVE-1126_patch(0.5.0_source).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.

View raw message