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

Xuefu Zhang commented on HIVE-10732:
------------------------------------

Sounds reasonable to me. +1 pending on test.

> Hive JDBC driver does not close operation for metadata queries
> --------------------------------------------------------------
>
>                 Key: HIVE-10732
>                 URL: https://issues.apache.org/jira/browse/HIVE-10732
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>            Reporter: Mala Chikka Kempanna
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-10732.patch
>
>
> In following file
> http://github.mtv.cloudera.com/CDH/hive/blob/cdh5-0.14.1/jdbc/src/java/org/apache/hive/jdbc/HiveQueryResultSet.java
> Line 315 implemented the ResultSet.close() method. Because "DatabaseMetadata" 
> operation doesn't have a statement, it doesn't "close" the operation. 
> However, regardless whether it has a statement or not, it should close the 
> operation through the "stmtHandle".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to