Skip to content

Commit 591ab47

Browse files
ES|QL: Tests for column pruning after JOIN
1 parent 75f8e4a commit 591ab47

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,3 +1628,26 @@ French
16281628
Spanish
16291629
German
16301630
;
1631+
1632+
1633+
pruningJoinResult
1634+
required_capability: join_lookup_v12
1635+
required_capability: fix_join_masking_eval
1636+
from sample_data
1637+
| eval type = 1000
1638+
| lookup join message_types_lookup on message
1639+
| grok type "%{WORD:foo}"
1640+
| keep event_duration
1641+
;
1642+
1643+
ignoreOrder: true
1644+
event_duration
1645+
---------------
1646+
1756467
1647+
5033755
1648+
8268153
1649+
725448
1650+
1232382
1651+
2764889
1652+
3450233
1653+
;

0 commit comments

Comments
 (0)