Skip to content

Commit

Permalink
[pipeline](exec) disable pipeline load in now version (#21632)
Browse files Browse the repository at this point in the history
  • Loading branch information
HappenLee authored Jul 8, 2023
1 parent 1b226ff commit f2fb23e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ public class Config extends ConfigBase {
public static boolean enable_quantile_state_type = true;

@ConfField
public static boolean enable_pipeline_load = true;
public static boolean enable_pipeline_load = false;

// enable_workload_group should be immutable and temporarily set to mutable during the development test phase
@ConfField(mutable = true, expType = ExperimentalType.EXPERIMENTAL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ public Coordinator(ConnectContext context, Analyzer analyzer, Planner planner) {

this.returnedAllResults = false;
this.enableShareHashTableForBroadcastJoin = context.getSessionVariable().enableShareHashTableForBroadcastJoin;
this.enablePipelineEngine = context.getSessionVariable().getEnablePipelineEngine();
// Only enable pipeline query engine in query, not load
this.enablePipelineEngine = context.getSessionVariable().getEnablePipelineEngine()
&& (fragments.size() > 0 && fragments.get(0).getSink() instanceof ResultSink);
initQueryOptions(context);

setFromUserProperty(context);
Expand Down

0 comments on commit f2fb23e

Please sign in to comment.