[ 
https://issues.apache.org/jira/browse/KYLIN-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193962#comment-16193962
 ] 

Ted Yu commented on KYLIN-2835:
-------------------------------

lgtm

> 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)

Reply via email to