xicm commented on code in PR #7168: URL: https://github.com/apache/hudi/pull/7168#discussion_r1017505572
########## hudi-cli/src/main/java/org/apache/hudi/cli/commands/CompactionCommand.java: ########## @@ -220,13 +220,13 @@ public String compact( @ShellOption(value = {"--parallelism"}, defaultValue = "3", help = "Parallelism for hoodie compaction") final String parallelism, @ShellOption(value = "--schemaFilePath", - help = "Path for Avro schema file", defaultValue = ShellOption.NULL) final String schemaFilePath, + help = "Path for Avro schema file", defaultValue = "") final String schemaFilePath, Review Comment: "--schemaFilePath" is not required, if it is not in args , we will get an exception "'arg' must not be null.". -- 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