[chore](Nereids) create policy always allow fallback (#33226)
This commit is contained in:
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user