[chore](Nereids) create policy always allow fallback (#33226)

This commit is contained in:
morrySnow
2024-04-07 15:59:13 +08:00
committed by yiguolei
parent bcc819ddd9
commit 93b20f0cc4

View File

@ -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");
}
}