codope commented on code in PR #6438:
URL: https://github.com/apache/hudi/pull/6438#discussion_r949841206


##########
hudi-cli/src/main/java/org/apache/hudi/cli/commands/RepairsCommand.java:
##########
@@ -263,4 +264,30 @@ public String migratePartitionMeta(
         HoodieTableHeaderFields.HEADER_ACTION
     }, rows);
   }
+
+  @CliCommand(value = "repair deprecated partition",
+      help = "Repair deprecated partition (\"default\"). Re-writes data from 
the deprecated partition into " + 
PartitionPathEncodeUtils.DEFAULT_PARTITION_PATH)

Review Comment:
   Overall looks good. But if we consider more generally, the functionality can 
essentially be used to rename partitions. So how about making it more like `mv 
<old_partition> <new_partition>` command? 



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