lokeshj1703 commented on code in PR #12151:
URL: https://github.com/apache/hudi/pull/12151#discussion_r1832415331


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieIndexDefinition.java:
##########
@@ -81,6 +82,10 @@ public String getIndexType() {
     return indexType;
   }
 
+  public boolean isFunctionalIndex() {
+    return indexName.startsWith(PARTITION_NAME_FUNCTIONAL_INDEX_PREFIX);
+  }

Review Comment:
   I have refactored the method 
`org.apache.hudi.metadata.MetadataPartitionType#isMetadataPartitionAvailable` 
to use this API. We need this API because we need to iterate over the 
functional indexes and then validate each separately. 



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