[pipelineX](bug) Fix meta scan operator (#24963)

This commit is contained in:
Gabriel
2023-09-27 20:34:47 +08:00
committed by GitHub
parent 671b5f0a0a
commit 1fb9022d07
7 changed files with 182 additions and 140 deletions

View File

@ -1654,7 +1654,7 @@ public class SessionVariable implements Serializable, Writable {
int size = Env.getCurrentSystemInfo().getMinPipelineExecutorSize();
int autoInstance = (size + 1) / 2;
return Math.min(autoInstance, maxInstanceNum);
} else if (enablePipelineEngine) {
} else if (getEnablePipelineEngine()) {
return parallelPipelineTaskNum;
} else {
return parallelExecInstanceNum;