Skip to content

[ES|QL] Remove the implicit LIMIT command added to each subquery (UnionAll branch) #138106

@fang-xing-esql

Description

@fang-xing-esql

This is a follow up to #135744, removing the implicit LIMIT command added to each subquery potentially lifts the restrictions on:

  1. Subqueries followed by LOOKUP JOIN under CCS context, as LOOKUP JOIN may not work with remote index patterns + LIMIT before it.
  2. Subqueries followed by INLINE STATS, as INLINE STATS may not work when there is a LIMIT command before it.

Metadata

Metadata

Labels

:Analytics/ES|QLAKA ESQLTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions