-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Panic/wrong reuslt when using partition table. #20558
Comments
how did you find this bug? |
@zz-jason It's an OnCall issue... |
Please edit this comment to complete the following informationNot a bug
Duplicate bug
BugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA)When creating partition union, it uses shallow copy to copy the field Column. Two DataSource will write to the same address and make the data wrong. 2. SymptomAs the describe above. Panic or wrong result. 3. All Trigger ConditionsUsing partition table. Using column pruning optimization. 4. Workaround (optional)No. 5. Affected versions[v4.0.7] 6. Fixed versions[v4.0.8] |
(WorkAroud RCA AllTriggerConditions FixedVersions AffectedVersions Symptom ) fields are empty. |
sync sig label from PR |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
in 4.0, it will get runtime error: index out of range [2] with length 2 ("runtime error: index out of range [2] with length 2")
in master, it will get wrong result.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: