xicm commented on code in PR #7168:
URL: https://github.com/apache/hudi/pull/7168#discussion_r1017508563


##########
hudi-cli/src/main/java/org/apache/hudi/cli/commands/SparkMain.java:
##########
@@ -151,7 +151,7 @@ public static void main(String[] args) throws Exception {
           }
           configs = new ArrayList<>();
           if (args.length > 10) {
-            configs.addAll(Arrays.asList(args).subList(9, args.length));
+            configs.addAll(Arrays.asList(args).subList(10, args.length));

Review Comment:
   
https://github.com/apache/hudi/blob/371296173a7c51c325e6f9c3a3ef2ba5f6a89f6e/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CompactionCommand.java#L254-L257
   
   There are 10 fixed parameters



-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to