Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1976,5 +1976,11 @@ public class Config extends ConfigBase {

@ConfField(mutable = false)
public static int topn_two_phase_limit_threshold = 512;

/**
* Used to set session variables randomly to check more issues in github workflow
*/
@ConfField(mutable = true)
public static int pull_request_id = 0;
}

10 changes: 10 additions & 0 deletions fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,16 @@ public void initFuzzyModeVariables() {
this.externalSortBytesThreshold = 100 * 1024 * 1024 * 1024;
break;
}
// pull_request_id default value is 0
Comment thread
hello-stephen marked this conversation as resolved.
if (Config.pull_request_id % 2 == 1) {
// this.enablePipelineEngine = true;
// this.enableFoldConstantByBe = true;
this.enableTwoPhaseReadOpt = false;
} else {
this.enablePipelineEngine = false;
this.enableFoldConstantByBe = false;
this.enableTwoPhaseReadOpt = true;
}
}

/**
Expand Down