This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new b20c1c289b6 [HUDI-6598] Fix the sync-strategy parameter in
HiveSyncConfig (#9301)
b20c1c289b6 is described below
commit b20c1c289b6fa9d67db86105115ad6a1f0115082
Author: hehuiyuan <[email protected]>
AuthorDate: Fri Jul 28 09:42:48 2023 +0800
[HUDI-6598] Fix the sync-strategy parameter in HiveSyncConfig (#9301)
---
.../src/main/java/org/apache/hudi/hive/HiveSyncConfig.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 dcbec94dbdd..cf9274d6910 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
@@ -166,8 +166,8 @@ public class HiveSyncConfig extends HoodieSyncConfig {
@Parameter(names = {"--sync-comment"}, description = "synchronize table
comments to hive")
public Boolean syncComment;
- @Parameter(names = {"--sync-strategy"}, description = "Hive table
synchronization strategy. Available option: ONLY_RO, ONLY_RT, ALL")
- public Boolean syncStrategy;
+ @Parameter(names = {"--sync-strategy"}, description = "Hive table
synchronization strategy. Available option: RO, RT, ALL")
+ public String syncStrategy;
public boolean isHelp() {
return hoodieSyncConfigParams.isHelp();