-
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
optimizer can not derive ranges on multi-column index conditions like (a1,b1) >= (v1,v2) and (a2,b2) <= (v3,b4) #54337
Comments
Q1 is ((a1>1) or (a1=1 and b1 > 10)) and we get the correct range:(1 10,1 +inf], (1,+inf]
|
Enhancement
This issue is covered in details under tikv/tikv#16798 which is listed under TiKV.
The enhancement here belongs to the optimizer and we created this issue to track it. Please refer to tikv/tikv#16798 for the details of the problem.
For completeness, see the first comment below repeated from the original PR.
The text was updated successfully, but these errors were encountered: