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


##########
flink/v1.16/flink/src/main/java/org/apache/iceberg/flink/TableLoader.java:
##########
@@ -76,6 +80,17 @@ public Table loadTable() {
       return tables.load(location);
     }
 
+    @Override
+    @SuppressWarnings("checkstyle:NoClone")
+    public TableLoader clone() {
+      try {
+        return (TableLoader) super.clone();

Review Comment:
   why not just `return new HadoopTableLoader(location, new 
Configuration(hadoopConf.get())`?



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