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