hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helmut Zechmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6165) Unify HivePreparedStatement from jdbc:hive and jdbc:hive2
Date Thu, 09 Jan 2014 13:48:50 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866652#comment-13866652
] 

Helmut Zechmann commented on HIVE-6165:
---------------------------------------

That makes sense. Maybe the functionality implemented in the old JDBC driver but missing in
JDBC driver 2 (setObject and maybe others) can be ported by simply copying the code.

> Unify HivePreparedStatement from jdbc:hive and jdbc:hive2
> ---------------------------------------------------------
>
>                 Key: HIVE-6165
>                 URL: https://issues.apache.org/jira/browse/HIVE-6165
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, JDBC
>    Affects Versions: 0.12.0
>            Reporter: Helmut Zechmann
>            Priority: Minor
>
> org.apache.hadoop.hive.jdbc.HivePreparedStatement.class from the hive jdbc driver and
org.apache.hive.jdbc.HivePreparedStatement.class from the hive2 jdbc drivers contain lots
of duplicate code. 
> Especially hive-HivePreparedStatement supports "setObject", while the hive2 version does
not.
> Share more code between the two to avoid duplicate work and to make sure that both support
the broadest possible feature set.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message