xuzhiwen1255 commented on code in PR #6614:
URL: https://github.com/apache/iceberg/pull/6614#discussion_r1073071187


##########
core/src/main/java/org/apache/iceberg/jdbc/JdbcTableOperations.java:
##########
@@ -251,4 +255,14 @@ private Map<String, String> getTable()
           return table;
         });
   }
+
+  /**
+   * Check that pool is off and turn it back on if it is off, in case others 
turn it off and cannot
+   * use pool.
+   */
+  private void checkIsClosedOtherwiseReuse() {
+    if (connections != null && connections.isClosed()) {

Review Comment:
   I think we can confirm whether it is closed before each use. If it is 
closed, we need to open it again and use it again



-- 
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: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to