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

Xuefu Zhang commented on HIVE-6165:
-----------------------------------

My understanding is that the old JDBC dirver is deprecated or close to be 
deprecated, and we probably don't want to make any changes unless absolutely 
necessary. Thus, I think the duplication is acceptable, and we are only moving 
JDBC driver 2 forward.

> 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)

Reply via email to