skywalker0618 commented on code in PR #20165:
URL: https://github.com/apache/hudi/pull/20165#discussion_r4228066174


##########
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java:
##########
@@ -600,6 +645,7 @@ private boolean syncPartitions(String tableName, 
List<PartitionEvent> partitionE
     if (!newPartitions.isEmpty()) {
       log.info("New Partitions {}", newPartitions);
       syncClient.addPartitionsToTable(tableName, newPartitions);
+      syncStats.recordPartitionsAdded(newPartitions.size());

Review Comment:
   Great point, changed. It's a bit convoluted as there are many call sites.



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

Reply via email to