diff --git a/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncConfig.java b/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncConfig.java index 19710b1685bb..6f2cc50a0af6 100644 --- a/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncConfig.java +++ b/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncConfig.java @@ -129,6 +129,8 @@ public static class HiveSyncConfigParams { public String bucketSpec; @Parameter(names = {"--sync-comment"}, description = "synchronize table comments to hive") public Boolean syncComment; + @Parameter(names = {"--with-operation-field"}, description = "Whether to include the '_hoodie_operation' field in the metadata fields") + public Boolean withOperationField; // TODO remove this as it's not used public boolean isHelp() { return hoodieSyncConfigParams.isHelp();