File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1010import org .elasticsearch .xpack .esql .capabilities .PostOptimizationVerificationAware ;
1111import org .elasticsearch .xpack .esql .common .Failures ;
1212import org .elasticsearch .xpack .esql .optimizer .rules .PlanConsistencyChecker ;
13+ import org .elasticsearch .xpack .esql .plan .logical .Enrich ;
1314import org .elasticsearch .xpack .esql .plan .logical .LogicalPlan ;
1415
1516public final class LogicalVerifier {
@@ -23,6 +24,12 @@ public Failures verify(LogicalPlan plan) {
2324 Failures failures = new Failures ();
2425 Failures dependencyFailures = new Failures ();
2526
27+ // AwaitsFix https://github.com/elastic/elasticsearch/issues/118531
28+ var enriches = plan .collectFirstChildren (Enrich .class ::isInstance );
29+ if (enriches .isEmpty () == false && ((Enrich ) enriches .get (0 )).mode () == Enrich .Mode .REMOTE ) {
30+ return failures ;
31+ }
32+
2633 plan .forEachUp (p -> {
2734 PlanConsistencyChecker .checkPlan (p , dependencyFailures );
2835
You can’t perform that action at this time.
0 commit comments