Skip to content
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

Planner: Test TestCostModelVer2ScanRowSize tablescan row size is incorrect #57085

Closed
terry1purcell opened this issue Nov 3, 2024 · 0 comments · Fixed by #57086
Closed

Planner: Test TestCostModelVer2ScanRowSize tablescan row size is incorrect #57085

terry1purcell opened this issue Nov 3, 2024 · 0 comments · Fixed by #57086
Assignees
Labels
affects-8.5 severity/major sig/planner SIG: Planner type/bug The issue is confirmed as a bug.

Comments

@terry1purcell
Copy link
Contributor

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 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.5 severity/major sig/planner SIG: Planner type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants