1
0

[HUDI-3771] flink supports sync table information to aws glue (#5202)

This commit is contained in:
todd5167
2022-04-02 21:16:10 +08:00
committed by GitHub
parent 020786a5f9
commit eef3f9c74a
4 changed files with 12 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ public class HiveSyncConfig extends HoodieSyncConfig {
@Parameter(names = {"--use-jdbc"}, description = "Hive jdbc connect url")
public Boolean useJdbc;
@Parameter(names = {"--sync-mode"}, description = "Mode to choose for Hive ops. Valid values are hms, jdbc and hiveql")
@Parameter(names = {"--sync-mode"}, description = "Mode to choose for Hive ops. Valid values are hms,glue,jdbc and hiveql")
public String syncMode;
@Parameter(names = {"--auto-create-database"}, description = "Auto create hive database")

View File

@@ -26,6 +26,10 @@ public enum HiveSyncMode {
* The HMS mode use the hive meta client to sync metadata.
*/
HMS,
/**
* The GLUE mode use the glue client to sync metadata.
*/
GLUE,
/**
* The HIVEQL mode execute hive ql to sync metadata.
*/