Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL: Disallow non-collapsable subselects with ORDER BY (#72991) #73096

Merged
merged 1 commit into from
May 14, 2021

Conversation

matriv
Copy link
Contributor

@matriv matriv commented May 14, 2021

Ordering an already pre-ordered and limited subselect is not allowed,
as such queries cannot be collapsed and translated into query DSL, but
the require an extra ordering step on top of the results returned
internally by the search/agg query.

Fixes: #71158
(cherry picked from commit a5a20ae)

Ordering an already pre-ordered and limited subselect is not allowed,
as such queries cannot be collapsed and translated into query DSL, but
the require an extra ordering step on top of the results returned
internally by the search/agg query.

Fixes: elastic#71158
(cherry picked from commit a5a20ae)
@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label May 14, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (Team:QL)

@matriv matriv merged commit 3a9ce5c into elastic:7.13 May 14, 2021
@matriv matriv deleted the backport-72991-7.13 branch May 14, 2021 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying backport >bug Team:QL (Deprecated) Meta label for query languages team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants