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? Bit-Quill#278 (comment)
A query with LIMIT N and NESTED function may return M rows, where M > N.
How can one reproduce the bug? Bit-Quill#278 (comment)
Being pushed down LIMIT defines number of docs to be returned, but NestedOperator adds extra rows while processes cartesian products.
What is the expected behavior?
Keep LIMIT pushed down, but leave LogicalLimit/LimitOperator in the plan tree to count number of the rows returned and cut off when limit reached.
Depends on Optimizer rework presented in #1752.
Activity
Yury-Fridlyand commentedon Jun 22, 2023
Hey bot, don't play with labels!
Fix LIMIT with NESTED overcounting documents instead of rows (opensea…