boneanxs commented on code in PR #6725:
URL: https://github.com/apache/hudi/pull/6725#discussion_r1024926404


##########
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java:
##########
@@ -309,14 +311,36 @@ private boolean syncSchema(String tableName, boolean 
tableExists, boolean useRea
     return schemaChanged;
   }
 
+  /**
+   * Fetch partitions from meta service, will try to push down more filters to 
avoid fetching
+   * too many unnecessary partitions.
+   */
+  private List<Partition> getTablePartitions(String tableName, List<String> 
writtenPartitionsSince) {

Review Comment:
   `writtenPartitionsSince` follow the name from `syncPartitions`, and it's 
generated by the `syncClient.getWrittenPartitionsSince`, I'll add the comment 
in the `syncPartitions` to explain it.



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