jonvex commented on code in PR #11943:
URL: https://github.com/apache/hudi/pull/11943#discussion_r1806643984


##########
hudi-cli/src/main/java/org/apache/hudi/cli/commands/BootstrapCommand.java:
##########
@@ -72,8 +72,14 @@ public String bootstrap(
           help = "Class for Full bootstrap input provider") final String 
fullBootstrapInputProvider,
       @ShellOption(value = {"--schemaProviderClass"}, defaultValue = "",
           help = "SchemaProvider to attach schemas to bootstrap source data") 
final String schemaProviderClass,
-      @ShellOption(value = {"--payloadClass"}, defaultValue = 
"org.apache.hudi.common.model.OverwriteWithLatestAvroPayload",
-          help = "Payload Class") final String payloadClass,
+      @ShellOption(value = {"--payloadClass"}, defaultValue = "",
+          help = "Payload Class (deprecated). Use merge-mode for overwrite or 
event time merging.") final String payloadClass,
+      @ShellOption(value = {"--merge-mode", "--record-merge-mode"}, 
defaultValue = "",
+          help = "Merge mode to use. 'EVENT_TIME_ORDERING', 
'OVERWRITE_WITH_LATEST', or 'CUSTOM' if you want to set a merge strategy") 
final String recordMergeMode,
+      @ShellOption(value = {"--merger-strategy", "--record-merger-strategy"}, 
defaultValue = "",

Review Comment:
   yes, inside infer merge mode in the tableconfig



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