Planner: Test TestCostModelVer2ScanRowSize tablescan row size is incorrect #57085
Labels
affects-8.1
This bug affects the 8.1.x(LTS) versions.
report/customer
Customers have encountered this bug.
severity/major
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)
Running test TestCostModelVer2ScanRowSize - you can see that the table scan row size is (scan(1000*logrowsize(80)*tikv_scan_factor(40.7) - when it should be "scan(10000".
2. What did you expect to see? (Required)
(scan(10000*logrowsize(80)*tikv_scan_factor(40.7) <--- 10,000
3. What did you see instead (Required)
(scan(1000*logrowsize(80)*tikv_scan_factor(40.7) <--- 1000
4. What is your TiDB version? (Required)
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v8.5.0-alpha-31-g241c10294b
Edition: Community
Git Commit Hash: 241c102
Git Branch: fixscan
UTC Build Time: 2024-11-03 20:42:45
GoVersion: go1.23.0
Race Enabled: false
Check Table Before Drop: false
Store: unistore |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
The text was updated successfully, but these errors were encountered: