Skip to content

Commit 7e8c5ca

Browse files
committed
Fix bwc
1 parent 093933c commit 7e8c5ca

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ Milky Way
174174
;
175175

176176
dropAgainWithWildcardAfterEval
177+
required_capability:drop_again_with_wildcard_after_eval
177178
from languages
178179
| eval language_code = 12, x = 13
179180
| drop language_code

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,13 @@ public enum Cap {
10171017
* During resolution (pre-analysis) we have to consider that joins or enriches can override EVALuated values
10181018
* https://github.com/elastic/elasticsearch/issues/126419
10191019
*/
1020-
FIX_JOIN_MASKING_EVAL;
1020+
FIX_JOIN_MASKING_EVAL,
1021+
1022+
/**
1023+
* Support for keeping `DROP` attributes when resolving field names.
1024+
* see <a href="https://github.com/elastic/elasticsearch/issues/126418"> ES|QL: no matches for pattern #126418 </a>
1025+
*/
1026+
DROP_AGAIN_WITH_WILDCARD_AFTER_EVAL;
10211027

10221028
private final boolean enabled;
10231029

0 commit comments

Comments
 (0)