You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug? LIMIT applied incorrectly in query with aggregation.
How can one reproduce the bug?
Steps to reproduce the behavior:
Run any query with aggregation which returns more than 200 rows. Try adding LIMIT clause.
For example:
select count(*) from online group by all_client / 100 limit 2000
(index online is taken from IT)
Physical plan tree is being executed:
What is the expected behavior? LIMIT rule should be applied correctly for such queries.
Probably pushDownLimit should be rejected if query has aggregation.
Is there any indication when the LIMIT issue will be resolved? I am having the same problem as well. Normal queries and such I can go up to any number. However anything with a group by in it is stuck at 200 or lower, the lower values do work.
What is the bug?
LIMIT
applied incorrectly in query with aggregation.How can one reproduce the bug?
Steps to reproduce the behavior:
Run any query with aggregation which returns more than 200 rows. Try adding
LIMIT
clause.For example:
(index
online
is taken from IT)Physical plan tree is being executed:
What is the expected behavior?
LIMIT
rule should be applied correctly for such queries.Probably
pushDownLimit
should be rejected if query has aggregation.What is your host/environment?
main
@ 94d5479Do you have any screenshots?
Customer request: https://opensearch.slack.com/archives/C051JEH8MNU/p1686871225569409
Do you have any additional context?
Related issues: #716, #1764, #1752
The text was updated successfully, but these errors were encountered: