linliu-code commented on code in PR #13664:
URL: https://github.com/apache/hudi/pull/13664#discussion_r2261205267


##########
hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java:
##########
@@ -420,7 +420,9 @@ public HoodieMetadataPayload 
combineMetadataPayloads(HoodieMetadataPayload older
    * Check if the partition path should be deleted on restore.
    */
   public static boolean shouldDeletePartitionOnRestore(String partitionPath) {
-    return fromPartitionPath(partitionPath) != FILES && 
fromPartitionPath(partitionPath) != RECORD_INDEX;
+    return fromPartitionPath(partitionPath) != FILES

Review Comment:
   Done.



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