Fix decode error when "NULL" value in the column with "primary key" flag (#5879)#5933
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
006d886 to
9dd8cb7
Compare
|
/rebuild |
2 similar comments
|
/rebuild |
|
/rebuild |
|
/run-all-tests |
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
41ec07a to
07d1f2e
Compare
Signed-off-by: JaySon-Huang <tshent@qq.com>
|
/run-all-tests |
|
/label can-merge |
|
@JaySon-Huang: The label(s) DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/label status/can-merge |
|
@JaySon-Huang: The label(s) DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/run-unit-test |
|
/run-unit-test |
|
/merge |
|
@JaySon-Huang: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 48994e2 |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
This is an automated cherry-pick of #5879
What problem does this PR solve?
Issue Number: close #5859
Problem Summary:
TiFlash assumes all values in the column with "primary key" flag are non-null value.
However, users could create such "NULL" value in the "primary key" column by following steps
What is changed and how it works?
addDefaultValueToColumnIfPossibleinsertRangeFrompreHandleSnapshot/ingestSSTCheck List
Tests
Side effects
Documentation
Release note