[conf](nereids) disable new cost model since it hurts performance (#18127)

This commit is contained in:
Gabriel
2023-03-27 16:12:15 +08:00
committed by GitHub
parent da8c53a831
commit cd85b5b262

View File

@ -618,7 +618,7 @@ public class SessionVariable implements Serializable, Writable {
private String disableNereidsRules = "";
@VariableMgr.VarAttr(name = ENABLE_NEW_COST_MODEL)
private boolean enableNewCostModel = true;
private boolean enableNewCostModel = false;
@VariableMgr.VarAttr(name = NEREIDS_STAR_SCHEMA_SUPPORT)
private boolean nereidsStarSchemaSupport = true;