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

Queries can be closed automatically

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      HIVE-16213 made QueryWrapper AutoCloseable, but queries are still closed manually and not by using try-with-resource. And now Query itself is auto closeable, so we don't need the wrapper at all.

      So we should get rid of QueryWrapper and use try-with-resource to create queries.

      Attachments

        1. HIVE-17730.08.patch
          33 kB
          Alex Kolbasov
        2. HIVE-17730.07.patch
          48 kB
          Alex Kolbasov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              akolb Alex Kolbasov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: