This is an automated email from the ASF dual-hosted git repository.
panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new be2754e1a2 [fuzzy](modify) enable pipeline and nereids in regression
env by default (#21824)
be2754e1a2 is described below
commit be2754e1a2a2a02d261a58a602411dfc9c7c47de
Author: shuke <[email protected]>
AuthorDate: Thu Jul 20 17:12:21 2023 +0800
[fuzzy](modify) enable pipeline and nereids in regression env by default
(#21824)
enable pipeline and nereids in regression env by default
---
.../src/main/java/org/apache/doris/qe/SessionVariable.java | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
index fab0da3b09..3d9bddeaba 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
@@ -1086,26 +1086,21 @@ public class SessionVariable implements Serializable,
Writable {
*/
// pull_request_id default value is 0. When it is 0, use default
(global) session variable.
if (Config.pull_request_id > 0) {
+ this.enablePipelineEngine = true;
+ this.enableNereidsPlanner = true;
+
switch (Config.pull_request_id % 4) {
case 0:
- this.enablePipelineEngine = true;
this.runtimeFilterType |=
TRuntimeFilterType.BITMAP.getValue();
- this.enableNereidsPlanner = true;
break;
case 1:
- this.enablePipelineEngine = true;
this.runtimeFilterType |=
TRuntimeFilterType.BITMAP.getValue();
- this.enableNereidsPlanner = false;
break;
case 2:
- this.enablePipelineEngine = false;
this.runtimeFilterType &=
~TRuntimeFilterType.BITMAP.getValue();
- this.enableNereidsPlanner = true;
break;
case 3:
- this.enablePipelineEngine = false;
this.runtimeFilterType &=
~TRuntimeFilterType.BITMAP.getValue();
- this.enableNereidsPlanner = false;
break;
default:
break;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]