Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/835#discussion_r42832321
  
    --- Diff: 
tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
 ---
    @@ -2722,15 +2560,13 @@ public void createIndex(final IndexDescProto proto)
       @Override
       public void dropIndex(String databaseName, final String indexName)
           throws UndefinedDatabaseException, UndefinedIndexException {
    -    Connection conn;
         PreparedStatement pstmt = null;
     
    -    try {
    +    try (Connection conn = getConnection()) {
    --- End diff --
    
    Why do you close the connection here?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to