xushiyan commented on code in PR #5666: URL: https://github.com/apache/hudi/pull/5666#discussion_r880378853
########## hudi-aws/src/main/java/org/apache/hudi/aws/sync/AwsGlueCatalogSyncTool.java: ########## @@ -65,6 +63,56 @@ public static void main(String[] args) { FileSystem fs = FSUtils.getFs(cfg.basePath, new Configuration()); HiveConf hiveConf = new HiveConf(); hiveConf.addResource(fs.getConf()); - new AwsGlueCatalogSyncTool(cfg, hiveConf, fs).syncHoodieTable(); + AwsGlueCatalogSyncTool.newBuilder() Review Comment: the builder pattern is good. but do you need it be in this PR? i was only expecting pom.xml changes :) -- 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...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org