1
0

[HUDI-3730] Keep metasync configs backward compatible (#6221)

This commit is contained in:
Shiyan Xu
2022-07-27 05:30:44 -05:00
committed by GitHub
parent e5faf2cc84
commit 717f159bfd
4 changed files with 36 additions and 27 deletions

View File

@@ -18,7 +18,7 @@
package org.apache.hudi.sink.utils;
import org.apache.hudi.aws.sync.AWSGlueCatalogSyncTool;
import org.apache.hudi.aws.sync.AwsGlueCatalogSyncTool;
import org.apache.hudi.common.config.SerializableConfiguration;
import org.apache.hudi.common.config.TypedProperties;
import org.apache.hudi.configuration.FlinkOptions;
@@ -74,7 +74,7 @@ public class HiveSyncContext {
public HiveSyncTool hiveSyncTool() {
HiveSyncMode syncMode = HiveSyncMode.of(props.getProperty(HIVE_SYNC_MODE.key()));
if (syncMode == HiveSyncMode.GLUE) {
return new AWSGlueCatalogSyncTool(props, hiveConf);
return new AwsGlueCatalogSyncTool(props, hiveConf);
}
return new HiveSyncTool(props, hiveConf);
}