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

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

@terry1purcell terry1purcell added the type/bug The issue is confirmed as a bug. label Nov 3, 2024
@terry1purcell terry1purcell self-assigned this Nov 3, 2024
@jebter jebter added the sig/planner SIG: Planner label Nov 5, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in 34ef14a Nov 6, 2024
@elsa0520 elsa0520 added the affects-8.5 This bug affects the 8.5.x(LTS) versions. label Nov 7, 2024
@seiya-annie seiya-annie added the report/customer Customers have encountered this bug. label Dec 18, 2024
@ti-chi-bot ti-chi-bot bot added affects-8.1 This bug affects the 8.1.x(LTS) versions. and removed affects-8.5 This bug affects the 8.5.x(LTS) versions. labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants