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


##########
flink/v1.16/flink/src/main/java/org/apache/iceberg/flink/CatalogLoader.java:
##########
@@ -78,6 +82,16 @@ public Catalog loadCatalog() {
           HadoopCatalog.class.getName(), catalogName, properties, 
hadoopConf.get());
     }
 
+    @Override
+    @SuppressWarnings("checkstyle:NoClone")
+    public CatalogLoader clone() {
+      try {
+        return (CatalogLoader) super.clone();

Review Comment:
   why not `return new HadoopCatalogLoader(...)`?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to