leesf commented on a change in pull request #3209: URL: https://github.com/apache/hudi/pull/3209#discussion_r663092866
########## File path: hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java ########## @@ -180,18 +180,31 @@ public void updateTableProperties(String tableName, Map<String, String> tablePro } } - private String constructAddPartitions(String tableName, List<String> partitions) { + private List<String> constructAddPartitions(String tableName, List<String> partitions) { + List<String> result = new ArrayList<>(); + int batchSyncPartitionNum = Integer.parseInt(syncConfig.batchSyncNum); Review comment: check batchSyncNum > 0? -- 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