[
https://issues.apache.org/jira/browse/KYLIN-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180141#comment-16180141
]
Jrex Ge commented on KYLIN-2835:
--------------------------------
https://github.com/apache/kylin/pull/74
> Unclosed resources in JdbcExplorer
> ----------------------------------
>
> Key: KYLIN-2835
> URL: https://issues.apache.org/jira/browse/KYLIN-2835
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
>
> In loadTableMetadata():
> {code}
> Connection con = SqlUtil.getConnection(dbconf);
> {code}
> The Connection should be closed upon return.
> {code}
> ResultSet rs = dbmd.getTables(null, database, table, null);
> {code}
> The ResultSet should be closed upon return.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)