This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch 2.1-tmp in repository https://gitbox.apache.org/repos/asf/doris.git
commit 93b20f0cc4e8c996e8b86afe5b4671d7fa14c5ba Author: morrySnow <101034200+morrys...@users.noreply.github.com> AuthorDate: Sun Apr 7 15:59:13 2024 +0800 [chore](Nereids) create policy always allow fallback (#33226) --- .../apache/doris/nereids/trees/plans/commands/CreatePolicyCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/CreatePolicyCommand.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/CreatePolicyCommand.java index fa78f399d76..01ccb3fa33f 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/CreatePolicyCommand.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/CreatePolicyCommand.java @@ -79,6 +79,7 @@ public class CreatePolicyCommand extends Command implements ForwardWithSync { @Override public void run(ConnectContext ctx, StmtExecutor executor) throws Exception { + ctx.getSessionVariable().enableFallbackToOriginalPlannerOnce(); throw new AnalysisException("Not support create policy command in Nereids now"); } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org