vamossagar12 commented on code in PR #2014: URL: https://github.com/apache/incubator-hugegraph/pull/2014#discussion_r1021549999
########## hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraTable.java: ########## @@ -156,6 +156,12 @@ protected <R> Iterator<R> query(Query query, } catch (DriverException e) { LOG.debug("Failed to query [{}], detail statement: {}", query, selects, e); + // Closing the iterator + try { + rs.close(); + } catch (Exception e2) { + LOG.error("Got error {} when closing iterator for query {}", e, query); Review Comment: sorry about that. Fixed it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org