[pipeline](exec) disable pipeline load in master code (#23061)

disable pipeline load in master code
This commit is contained in:
HappenLee
2023-08-16 21:53:58 +08:00
committed by GitHub
parent 390c52f73a
commit 814acbf331

View File

@ -322,7 +322,7 @@ public class Coordinator {
this.enableShareHashTableForBroadcastJoin = context.getSessionVariable().enableShareHashTableForBroadcastJoin;
// Only enable pipeline query engine in query, not load
this.enablePipelineEngine = context.getSessionVariable().getEnablePipelineEngine()
&& fragments.size() > 0;
&& (fragments.size() > 0 && fragments.get(0).getSink() instanceof ResultSink);
initQueryOptions(context);
setFromUserProperty(context);