[jira] [Assigned] (HIVE-17730) Queries can be closed automatically
[ https://issues.apache.org/jira/browse/HIVE-17730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Kolbasov reassigned HIVE-17730: - Assignee: (was: Alexander Kolbasov) > Queries can be closed automatically > --- > > Key: HIVE-17730 > URL: https://issues.apache.org/jira/browse/HIVE-17730 > Project: Hive > Issue Type: Bug >Reporter: Alexander Kolbasov >Priority: Major > Attachments: HIVE-17730.07.patch, HIVE-17730.08.patch > > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Assigned] (HIVE-17730) Queries can be closed automatically
[ https://issues.apache.org/jira/browse/HIVE-17730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Kolbasov reassigned HIVE-17730: - Assignee: Alexander Kolbasov > Queries can be closed automatically > --- > > Key: HIVE-17730 > URL: https://issues.apache.org/jira/browse/HIVE-17730 > Project: Hive > Issue Type: Bug >Reporter: Alexander Kolbasov >Assignee: Alexander Kolbasov > > 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. -- This message was sent by Atlassian JIRA (v6.4.14#64029)