garyli1019 commented on a change in pull request #5202:
URL: https://github.com/apache/hudi/pull/5202#discussion_r840571581
##########
File path:
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/utils/HiveSyncContext.java
##########
@@ -48,7 +51,15 @@ private HiveSyncContext(HiveSyncConfig syncConfig, HiveConf
hiveConf, FileSystem
}
public HiveSyncTool hiveSyncTool() {
- return new HiveSyncTool(this.syncConfig, this.hiveConf, this.fs);
+ HiveSyncMode syncMode = HiveSyncMode.of(syncConfig.syncMode);
+ switch (syncMode) {
+ case HMS:
Review comment:
the default sync mode in FlinkOptions is JDBC actually.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]