[bug-fix] Fix cluster property in hadoop/broker load (#5587)

The cluster property has been removed from load stmt which is incorrect. It caused user could not create hadoop/broker load.
Fix #5586
This commit is contained in:
xy720
2021-04-02 11:54:46 +08:00
committed by GitHub
parent 0490b156c8
commit dce66c7329

View File

@ -161,6 +161,12 @@ public class LoadStmt extends DdlStmt {
return Integer.valueOf(s);
}
})
.put(CLUSTER_PROPERTY, new Function<String, String>() {
@Override
public @Nullable String apply(@Nullable String s) {
return s;
}
})
.build();
public LoadStmt(LabelName label, List<DataDescription> dataDescriptions,