planner: cannot use BatchPointGet if Plan Cache is enabled in some cases #42125
Labels
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
epic/plan-cache
needs-cherry-pick-release-5.4
Should cherry pick this PR to release-5.4 branch.
needs-cherry-pick-release-6.1
Should cherry pick this PR to release-6.1 branch.
needs-cherry-pick-release-6.5
Should cherry pick this PR to release-6.5 branch.
severity/major
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Enhancement
As the case below, if we enable Plan Cache, the query cannot use BatchPointGet for safety, but BatchPointGet is much more efficient than IndexLookup in this case:
The text was updated successfully, but these errors were encountered: