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
Currently the LimitSkipByIndexPass will look for an existing IndexRangeScanStep in the execution tree
if it finds one, it will try to leverage it to perform limit/skip using the index
if it does not find one, it does nothing.
For this query, because there is no predicate, an IndexRangeScanStep does not exist in the tree, but instead of
concluding that the optimization is not applicable, we should check if the table has a primary key. If it does, then
use the primary key's index to perform LIMIT/SKIP.
The text was updated successfully, but these errors were encountered:
Currently the LimitSkipByIndexPass will look for an existing IndexRangeScanStep in the execution tree
For this query, because there is no predicate, an IndexRangeScanStep does not exist in the tree, but instead of
concluding that the optimization is not applicable, we should check if the table has a primary key. If it does, then
use the primary key's index to perform LIMIT/SKIP.
The text was updated successfully, but these errors were encountered: