-
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
empty result when query contains "in (v1, v2 .. )" #22894
Labels
Comments
Closed
/assign @guo-shaoge |
related issue: #22898 @tiancaiamao PTAL |
We got bug in partition prune for in expr. We directly use 127 to get partition, but actually we should use 127%xxx.
PS: why the second plan is correct: in expr is rewrite as equal expr. |
guo-shaoge
added a commit
to guo-shaoge/tidb
that referenced
this issue
Feb 25, 2021
Signed-off-by: guo-shaoge <[email protected]>
guo-shaoge
added a commit
to guo-shaoge/tidb
that referenced
this issue
Feb 25, 2021
Signed-off-by: guo-shaoge <[email protected]>
ti-chi-bot
pushed a commit
that referenced
this issue
Mar 3, 2021
Please edit this comment or add a new 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) (optional)2. Symptom (optional)3. All Trigger Conditions (optional)4. Workaround (optional)5. Affected versions[v4.0.0:v4.0.11],[v5.0.0-rc] 6. Fixed versionsmaster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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 TiDB version? (Required)
master 3edbab3 and release-5.0-rc 760c7d1
The text was updated successfully, but these errors were encountered: