Skip to content

Commit 0e94d4f

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

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
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

muted-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,6 @@ tests:
230230
issue: https://github.com/elastic/elasticsearch/issues/115727
231231
- class: org.elasticsearch.xpack.security.authc.kerberos.KerberosAuthenticationIT
232232
issue: https://github.com/elastic/elasticsearch/issues/118414
233-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlClientYamlIT
234-
issue: https://github.com/elastic/elasticsearch/issues/119086
235233
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
236234
method: test {yaml=reference/search/search-your-data/retrievers-examples/line_98}
237235
issue: https://github.com/elastic/elasticsearch/issues/119155

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)