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

Hive JDBC driver does not close operation for metadata queries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: JDBC
    • Labels:
      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.patch
          2 kB
          Chaoyu Tang
        2. HIVE-10732.1.patch
          2 kB
          Chaoyu Tang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: