-
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
types: convert string to MySQL BIT correctly (#21310) #22420
types: convert string to MySQL BIT correctly (#21310) #22420
Conversation
Signed-off-by: ti-srebot <[email protected]>
/run-all-tests |
@rebelice you're already a collaborator in bot's repo. |
PTAL @ichn-hu, @lzmhhh123 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
cherry-pick #21310 to release-4.0
You can switch your code base to this Pull Request by using git-extras:
# In tidb repo: git pr https://github.com/pingcap/tidb/pull/22420
After apply modifications, you can push your change to this PR via:
What problem does this PR solve?
Issue Number: close #18681
Problem Summary:
LOAD DATA
does not take effect on BIT. BecauseLOAD DATA
regards all input as strings and TiDB cannot convert any string to bit correctlyWhat is changed and how it works?
What's Changed:
true
,false
,0
,1
Related changes
Check List
Tests
Side effects
Release note