Skip to content

Commit 3e3e486

Browse files
authored
ESQL: Fix writing for LOOKUP status (#119296) (#119320)
This fixes writing the `status` of the LOOKUP operator. It just wasn't registered. Closes #119086
1 parent 28f60f7 commit 3e3e486

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/changelog/119296.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 119296
2+
summary: Fix writing for LOOKUP status
3+
area: ES|QL
4+
type: bug
5+
issues:
6+
- 119086

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/EsqlPlugin.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
import org.elasticsearch.xpack.esql.action.RestEsqlGetAsyncResultAction;
6262
import org.elasticsearch.xpack.esql.action.RestEsqlQueryAction;
6363
import org.elasticsearch.xpack.esql.enrich.EnrichLookupOperator;
64+
import org.elasticsearch.xpack.esql.enrich.LookupFromIndexOperator;
6465
import org.elasticsearch.xpack.esql.execution.PlanExecutor;
6566
import org.elasticsearch.xpack.esql.expression.ExpressionWritables;
6667
import org.elasticsearch.xpack.esql.plan.PlanWritables;
@@ -192,6 +193,7 @@ public List<NamedWriteableRegistry.Entry> getNamedWriteables() {
192193
entries.add(SingleValueQuery.ENTRY);
193194
entries.add(AsyncOperator.Status.ENTRY);
194195
entries.add(EnrichLookupOperator.Status.ENTRY);
196+
entries.add(LookupFromIndexOperator.Status.ENTRY);
195197

196198
entries.addAll(BlockWritables.getNamedWriteables());
197199
entries.addAll(ExpressionWritables.getNamedWriteables());

0 commit comments

Comments
 (0)