You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/11/10 01:21:00 UTC
[jira] [Commented] (KYLIN-2975) Unclosed Statement in test
[ https://issues.apache.org/jira/browse/KYLIN-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16246863#comment-16246863 ]
Ted Yu commented on KYLIN-2975:
-------------------------------
I only found this file:
./query/src/main/java/org/apache/kylin/query/security/QuerACLTestUtil.java
It can be renamed to correct name in the patch.
> Unclosed Statement in test
> --------------------------
>
> Key: KYLIN-2975
> URL: https://issues.apache.org/jira/browse/KYLIN-2975
> Project: Kylin
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Shengping
> Priority: Minor
>
> Some Statement resource is not closed in tests.
> e.g. from QuerACLTestUtil.java :
> {code}
> Statement statement = conn.createStatement();
> return statement.executeQuery(sql);
> {code}
> The statement should be closed after use.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)