Skip to content

Commit

Permalink
Add enable_cbo session variable temporarily (StarRocks#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangkaisen authored Oct 1, 2021
1 parent df72d61 commit ad6ddd8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ public class SessionVariable implements Serializable, Writable, Cloneable {
@VariableMgr.VarAttr(name = DISABLE_JOIN_REORDER)
private boolean disableJoinReorder = false;

// TODO(kks): Remove this variable after 2021-10-07
@VariableMgr.VarAttr(name = "enable_cbo")
private boolean enableCbo = true;

@VariableMgr.VarAttr(name = CBO_MAX_REORDER_NODE_USE_EXHAUSTIVE)
private int cboMaxReorderNodeUseExhaustive = 4;

Expand Down

0 comments on commit ad6ddd8

Please sign in to comment.