orderby doesn't use the index when to init stats #52466
Labels
affects-7.5
affects-8.1
severity/moderate
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
SQL in the init stats like load bucket/topn have orderby. but when to explain the SQL, all of them do not use index to orderby
2. What did you expect to see? (Required)
use index
3. What did you see instead (Required)
not use index
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: