[pipelineX](fix) Fix exception reporting and Nereids plan (#24936)

This commit is contained in:
Gabriel
2023-09-27 13:15:40 +08:00
committed by GitHub
parent c04e5bac39
commit 1b0e3246ea
7 changed files with 30 additions and 28 deletions

View File

@ -52,6 +52,8 @@ public class TurnOffPipelineForDml extends PlanPreprocessor {
try {
VariableMgr.setVar(sessionVariable,
new SetVar(SessionVariable.ENABLE_PIPELINE_ENGINE, new StringLiteral("false")));
VariableMgr.setVar(sessionVariable,
new SetVar(SessionVariable.ENABLE_PIPELINE_X_ENGINE, new StringLiteral("false")));
} catch (Throwable t) {
throw new AnalysisException("Can not set turn off pipeline for DML", t);
}