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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java:
##########
@@ -2201,7 +2201,18 @@ public boolean isRecordIndexEnabled() {
    * @return {@code true} if the specified metadata index is marked for 
dropping, {@code false} otherwise.
    */
   public boolean isDropMetadataIndex(String indexName) {
-    return StringUtils.nonEmpty(getMetadataConfig().getMetadataIndexToDrop()) 
&& getMetadataConfig().getMetadataIndexToDrop().equals(indexName);
+    String subIndexNameToDrop = getMetadataConfig().getMetadataIndexToDrop();

Review Comment:
   I think we can eliminate the whole method.



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