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


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieIndexDefinition.java:
##########
@@ -81,6 +81,10 @@ public String getIndexType() {
     return indexType;
   }
 
+  public String getIndexNameWithoutPrefix() {
+    return indexName.substring(indexType.length() + 1);

Review Comment:
   I think a better way is to get MetadataPartitionType inside 
HoodieIndexDefinition. Moving the function there would not be very clean right 
now.



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