danny0405 commented on code in PR #12105:
URL: https://github.com/apache/hudi/pull/12105#discussion_r1807993565


##########
hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java:
##########
@@ -434,6 +434,18 @@ public static List<MetadataPartitionType> 
getEnabledPartitions(TypedProperties w
         .collect(Collectors.toList());
   }
 
+  /**
+   * Returns the list of metadata partition types enabled and initialized 
based on the metadata config and table config.
+   */
+  public static List<MetadataPartitionType> 
getEnabledAndInitializedPartitions(TypedProperties writeConfig, 
HoodieTableMetaClient metaClient) {

Review Comment:
   Maybe just rename to `getInitializedPartitions` because an initialized 
partition is definitely enabled.



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