[
https://issues.apache.org/jira/browse/IGNITE-22611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Mashenkov reassigned IGNITE-22611:
-----------------------------------------
Assignee: Andrey Mashenkov
> SQL. Statement should not extends AutoClosable
> -----------------------------------------------
>
> Key: IGNITE-22611
> URL: https://issues.apache.org/jira/browse/IGNITE-22611
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Andrey Mashenkov
> Assignee: Andrey Mashenkov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> Statement doesn't hold any resources, but AutoClosable interface assume using
> try-with-resources.
> A try-with-resources block forces user to catch the exception, because of
> `close()` method signature.
> However, all of this make no sense, single implementation has empty `close()`
> method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)