Skip to content

Commit 83978b0

Browse files
committed
Remove redundant capability
We only add an optimization, it must still work with older nodes.
1 parent 1ce823a commit 83978b0

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/lookup-join.csv-spec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ emp_no:integer | language_code:integer | language_name:keyword
146146

147147
multipleLookupsAndProjects
148148
required_capability: join_lookup_v12
149-
required_capability: join_lookup_enable_pushdown_past_project
150149
# TODO: this test, but with a lookup index that has multiple matches per row to show the first LOOKUP's effect, too.
151-
# TODO: tests like this that will look up the exact subfield of a text field
152150

153151
FROM employees
154152
| KEEP languages, emp_no

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -814,11 +814,6 @@ public enum Cap {
814814
*/
815815
JOIN_LOOKUP_FIX_LIMIT_PUSHDOWN(JOIN_LOOKUP_V12.isEnabled()),
816816

817-
/**
818-
* Enable Projects (KEEP/DROP and aliasing EVALs) to be pulled up past a LOOKUP JOIN.
819-
*/
820-
JOIN_LOOKUP_ENABLE_PUSHDOWN_PAST_PROJECT(JOIN_LOOKUP_V12.isEnabled()),
821-
822817
/**
823818
* Fix for https://github.com/elastic/elasticsearch/issues/117054
824819
*/

0 commit comments

Comments
 (0)