Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10732

Hive JDBC driver does not close operation for metadata queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • JDBC
    • None

    Description

      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".

      Attachments

        1. HIVE-10732.1.patch
          2 kB
          Chaoyu Tang
        2. HIVE-10732.patch
          2 kB
          Chaoyu Tang

        Activity

          People

            ctang Chaoyu Tang
            mkempanna Mala Chikka Kempanna
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: