-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
unexpected selection in index-look-up's build-side after add a probe-side condition #21280
Labels
Comments
and if we change schema as
we will get plan:
but ideal we should get
|
/assign |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
run sql1
will get the right plan
but just add addition filter condition
and d = 3
2. What did you expect to see? (Required)
3. What did you see instead (Required)
it should build [1 1 1, 1 1 1] , [1 3, 1 3] ranges but it generate [1 1, 1 1], [1 3, 1 3] and add addition selection..
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: