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

JDBC2 HivePreparedStatement does not release resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.11.0
    • None
    • HiveServer2, JDBC
    • None

    Description

      HivePreparedStatement does not close the associated server-side operation when close() is called. Nor does it call close() on the ResultSet. When execute() is called the current ResultSet is not closed first it is just set to null.

      Similarly, HiveStatement's close() does not call close() on the ResultSet, it just sets it to null.

      Attachments

        1. HIVE-4236.patch
          3 kB
          Chris Drome

        Activity

          People

            cdrome Chris Drome
            cdrome Chris Drome
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: