-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
incorrect result while part or
condition expr failed
#25734
Comments
any update? @lzmhhh123 |
This is because when eval condition |
tiflash doesn't have this issue. |
|
/assign @XuHuaiyu |
Try mysql, it seems in some cases, it will also execute the second comparison and report an overflow error:
|
Confirmed in TiDB with and without pushing down "or", both cases work successfully. |
You mean, TiDB won't report error message in the latest version for this case? @XuHuaiyu |
@yibin87 Huaiyu means TiDB itself won't report error message in such case. Neither during constant-folding nor the execution of logical-or function (TiDB version). Actually it's the TiKV reported the error. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
deploy a cluster with tikv
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
release-5.1: 7784454
master: aaed434
The text was updated successfully, but these errors were encountered: