ESQL: LIMIT BY, Explore whether LIMIT BY can be pushed to the FORK branches
Author: ncordonCreated Sep 15, 2026Updated Sep 17, 2026
Labels>enhancementTeam:Analytics:Analytics/ES|QL
Explore whether LIMIT BY could be pushed to every individual branch of FORK:
i.e. turning:
FROM index
| FORK (fork1) (fork2)
| LIMIT N BY ainto:
FROM index
| FORK (fork1 | LIMIT N BY a) (fork2 | LIMIT N BY a)
| LIMIT N BY aSource: elastic/elasticsearch