[HUDI-3730] Keep metasync configs backward compatible (#6221)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user