[MINOR] Optimize code logic (#5499)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user