You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is a display error in explain format='verbose'.
The actual cost of StreamAgg_18 should be slightly larger than IndexReader_19, which should also be less than HashAgg_21.
When doing physical optimization, we use task to calculate and save the cost, and in explain, it gets the cost from the physical operators, I think there may be something wrong when setting the values from task to physical operators.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
The query without hint selects a plan with a lower cost, or the selected plan has a lower estCost.
3. What did you see instead (Required)
The plan selected by optimizer has bigger estCost.
4. What is your TiDB version? (Required)
20210510 master nightly
The text was updated successfully, but these errors were encountered: