limit and offset computation may eliminate and simplify the entire plan #58749
Labels
planner/cascades
issue/enhance/bug related to yams
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
after the subQ's application, we could say the result set is about 3 rows at most, while from the outer query block's imply, current all rows could be eliminated and abandoned for another offset 5 which is impossible, we can generate a table dual with row=0 directly.
TableDual_11 0.00 root rows:0
The text was updated successfully, but these errors were encountered: