-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimizer does not consider using ordered index scan when is null
is used
#54188
Labels
report/customer
Customers have encountered this bug.
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Comments
winoros
added
type/enhancement
The issue or PR belongs to an enhancement.
and removed
type/bug
The issue is confirmed as a bug.
labels
Jun 25, 2024
winoros
changed the title
optimizer does not consider index when
optimizer does not consider using ordered index scan when Jun 25, 2024
is null
is usedis null
is used
ISNULL is not treated as point range currently. |
13 tasks
13 tasks
/found customer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
report/customer
Customers have encountered this bug.
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
execution plan use index ab and keep order on b to avoid sorting
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: