hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5006) Re-factor HiveServer2 JDBC PreparedStatement to avoid duplicate code
Date Sat, 10 Aug 2013 14:12:48 GMT

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

Hudson commented on HIVE-5006:
------------------------------

SUCCESS: Integrated in Hive-trunk-h0.21 #2258 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2258/])
HIVE-5006: Re-factor HiveServer2 JDBC PreparedStatement to avoid duplicate code (Prasad Mujumdar
via Gunther Hagleitner) (gunther: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1512506)
* /hive/trunk/jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java
* /hive/trunk/jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java

                
> Re-factor HiveServer2 JDBC PreparedStatement to avoid duplicate code
> --------------------------------------------------------------------
>
>                 Key: HIVE-5006
>                 URL: https://issues.apache.org/jira/browse/HIVE-5006
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2, JDBC
>    Affects Versions: 0.11.0
>            Reporter: Prasad Mujumdar
>            Assignee: Prasad Mujumdar
>             Fix For: 0.12.0
>
>         Attachments: HIVE-5006.1.patch, HIVE-5006.3.patch
>
>
> The JDBC PreparedStatement interface extends Statement interface. The Hive JDBC driver
implementations of HivePreparedStatement interface is disjoint from the HiveStatement implementation.
As a result there's some duplicate code in these two classes for executing query. Also patches
like implicit close on re-execute etc. are not there for PreparedStatement.
> The HivePreparedStatement should extend the HiveStatement.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message