-
Notifications
You must be signed in to change notification settings - Fork 412
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
After adding a column with a default value, querying the value of this column will yield an error result in disaggregated mode #9665
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
Comments
/pick-up |
12 tasks
Lloyd-Pottiger
added
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
and removed
may-affects-5.4
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
may-affects-8.1
may-affects-8.5
labels
Nov 22, 2024
JaySon-Huang
added
affects-7.1
This bug affects the 7.1.x(LTS) versions.
and removed
affects-7.1
This bug affects the 7.1.x(LTS) versions.
labels
Nov 25, 2024
ti-chi-bot bot
added a commit
that referenced
this issue
Nov 25, 2024
close #9665 Since the TiDB add new column operation does not actually write the new column data, it simply logs it to `origin_default_value`. In disaggregated mode, the default value may be read using tipb passing the default value. The original logic is to pass the default value of tipb to the default value of ColumnInfo (calling defaultValueToField). After obtaining the default value of tipb, decode it, and then use the defaultValueToField value for processing. Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
12 tasks
ti-chi-bot bot
pushed a commit
that referenced
this issue
Dec 3, 2024
…#9683) close #9665 Since the TiDB add new column operation does not actually write the new column data, it simply logs it to `origin_default_value`. In disaggregated mode, the default value may be read using tipb passing the default value. The original logic is to pass the default value of tipb to the default value of ColumnInfo (calling defaultValueToField). After obtaining the default value of tipb, decode it, and then use the defaultValueToField value for processing. Signed-off-by: JaySon-Huang <tshent@qq.com> Co-authored-by: JaySon-Huang <tshent@qq.com> Co-authored-by: JaySon <tshent@qq.com>
12 tasks
ti-chi-bot bot
added a commit
that referenced
this issue
Dec 11, 2024
…#9719) close #9665 Since the TiDB add new column operation does not actually write the new column data, it simply logs it to `origin_default_value`. In disaggregated mode, the default value may be read using tipb passing the default value. The original logic is to pass the default value of tipb to the default value of ColumnInfo (calling defaultValueToField). After obtaining the default value of tipb, decode it, and then use the defaultValueToField value for processing. Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: JaySon-Huang <tshent@qq.com> Co-authored-by: Lynn <zimu_xia@126.com> Co-authored-by: JaySon-Huang <tshent@qq.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
12 tasks
ti-chi-bot bot
pushed a commit
that referenced
this issue
Dec 20, 2024
…#9729) close #9665 Since the TiDB add new column operation does not actually write the new column data, it simply logs it to `origin_default_value`. In disaggregated mode, the default value may be read using tipb passing the default value. The original logic is to pass the default value of tipb to the default value of ColumnInfo (calling defaultValueToField). After obtaining the default value of tipb, decode it, and then use the defaultValueToField value for processing. Co-authored-by: Lynn <zimu_xia@126.com> Co-authored-by: Lloyd-Pottiger <60744015+Lloyd-Pottiger@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
component/storage
severity/major
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)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
master
The text was updated successfully, but these errors were encountered: