1
0

[MINOR] Optimize code logic (#5499)

This commit is contained in:
qianchutao
2022-05-06 00:33:06 +08:00
committed by GitHub
parent f66e83dc65
commit d794f4fbf9

View File

@@ -625,8 +625,8 @@ public class HoodieDeltaStreamer implements Serializable {
ValidationUtils.checkArgument(baseFileFormat.equals(cfg.baseFileFormat) || cfg.baseFileFormat == null,
"Hoodie table's base file format is of type " + baseFileFormat + " but passed in CLI argument is "
+ cfg.baseFileFormat);
cfg.baseFileFormat = meta.getTableConfig().getBaseFileFormat().toString();
this.cfg.baseFileFormat = cfg.baseFileFormat;
cfg.baseFileFormat = baseFileFormat;
this.cfg.baseFileFormat = baseFileFormat;
} else {
tableType = HoodieTableType.valueOf(cfg.tableType);
if (cfg.baseFileFormat == null) {