[
https://issues.apache.org/jira/browse/HIVE-6165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866831#comment-13866831
]
Xuefu Zhang commented on HIVE-6165:
-----------------------------------
I think "copying" is fine.
> 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)