justinmclean opened a new issue, #8381:
URL: https://github.com/apache/gravitino/issues/8381

   ### What would you like to be improved?
   
   Change alterTable so that empty SQL statements no longer stop processing 
subsequent changes.
   
   Here a unit test to help:
   ```
     @Test
     void testCloseMultipleInstances() throws IOException {
       Configuration configuration = new Configuration();
       Map<String, String> properties = Maps.newHashMap();
       IcebergHiveCachedClientPool pool1 = new 
IcebergHiveCachedClientPool(configuration, properties);
       IcebergHiveCachedClientPool pool2 = new 
IcebergHiveCachedClientPool(configuration, properties);
   
       Assertions.assertDoesNotThrow(
           () -> {
             pool1.close();
             pool2.close();
           });
     }
   ```
   
   ### How should we improve?
   
   Use continue rather than return.Change so it doesn't thow a NPE.


-- 
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: commits-unsubscr...@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to