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


##########
hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java:
##########
@@ -70,6 +92,19 @@ public static Set<String> getAllPartitionPaths() {
         .collect(Collectors.toSet());
   }
 
+  /**
+   * Returns the list of metadata partition types enabled based on the 
metadata config and table config.
+   */
+  public static List<MetadataPartitionType> 
getEnabledPartitions(HoodieMetadataConfig metadataConfig, HoodieTableMetaClient 
metaClient) {
+    List<MetadataPartitionType> enabledTypes = new ArrayList<>(4);

Review Comment:
   Not sure whether we need a specific initial list length param.



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