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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/BaseActionExecutor.java:
##########
@@ -157,7 +157,7 @@ protected final void 
writeTableMetadata(HoodieRestoreMetadata metadata) {
    */
   protected final void dropIndexOnRestore() {
     for (String partitionPath : 
table.getMetaClient().getTableConfig().getMetadataPartitions()) {
-      if (MetadataPartitionType.shouldDeletePartitionOnRestore(partitionPath)) 
{
+      if 
(MetadataPartitionType.shouldDeleteMDTPartitionOnOverwriteOrRestore(partitionPath))
 {

Review Comment:
   Addressed. We were not recreating the index, it was just some leftover code 
from earlier attempts. Removed it.



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