Davis-Zhang-Onehouse commented on code in PR #13489:
URL: https://github.com/apache/hudi/pull/13489#discussion_r2180618549


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/upgrade/UpgradeDowngradeUtils.java:
##########
@@ -214,4 +219,35 @@ static void rollbackFailedWritesAndCompact(HoodieTable 
table, HoodieEngineContex
       throw new HoodieException(e);
     }
   }
+
+  /**
+   * Drops secondary index partitions from metadata table that are V2 or 
higher.
+   *
+   * @param config        Write config
+   * @param context       Engine context
+   * @param table         Hoodie table
+   * @param operationType Type of operation (upgrade/downgrade)
+   */
+  public static void dropNonV1SecondaryIndexPartitions(HoodieWriteConfig 
config, HoodieEngineContext context,
+                                                       HoodieTable table, 
SupportsUpgradeDowngrade upgradeDowngradeHelper, String operationType) {

Review Comment:
   covered in upgrade/downgrade UT already



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