-
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
Cascade's LogicalTableScan derive stats with wrong range #23459
Comments
@lysu Hi, I couldn't get your point. You think that Is it problem that Could you provide more details about question. |
If the answer is yes, there isn't problem in fact. Cascades plan use many functions in |
the question in here should be only building primary key range by maybe you can test it with it seems this code less adopt to clustered index feature, it should build range for multiple columns, maybe it should sth like tidb/planner/core/logical_plans.go Line 664 in 171d556
PS: I'm not very sure if it has the problem, but just review the code and feel it seems to have the problem, feeling free to close it if recheck it's ok :) |
Thanks for your reply, It was mentioned in TODO, I mistake there is other problem. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
no reproduce but see it has something wrong in code
LogicalTableScan only be used in cascade
2. What did you expect to see? (Required)
build common handle range?
3. What did you see instead (Required)
TODO
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: