xushiyan commented on code in PR #5666: URL: https://github.com/apache/hudi/pull/5666#discussion_r880435101
########## 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: sounds good. we may also incorporate the builder pattern in the metasync refactoring work with @fengjian428 -- 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