-
Notifications
You must be signed in to change notification settings - Fork 410
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
In function returned incorrect result when in-list contains two arguments and one is column #8169
Labels
affects-7.4
component/storage
priority/P1
The issue has P1 priority.
severity/critical
type/bug
The issue is confirmed as a bug.
Comments
yibin87
added
type/bug
The issue is confirmed as a bug.
priority/P2
The issue has P2 priority.
severity/major
component/expression
component/compute
labels
Oct 9, 2023
v.7.4.0 reproduced this issue. |
May need to run set session tidb_isolation_read_engines='tikv'; set session tidb_isolation_read_engines='tiflash'; several times to reproduce this issue. |
From explain analyze results, it seems RSFilter filters all rows:
|
yibin87
added
component/storage
priority/P1
The issue has P1 priority.
severity/critical
and removed
component/expression
component/compute
priority/P2
The issue has P2 priority.
severity/major
labels
Oct 9, 2023
ti-chi-bot
bot
added
may-affects-5.3
may-affects-5.4
may-affects-6.1
may-affects-6.5
labels
Oct 9, 2023
This was referenced Oct 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-7.4
component/storage
priority/P1
The issue has P1 priority.
severity/critical
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)
mysql> create table a (col0 integer, col1 integer);
mysql> insert into a values(20, 30);
mysql> insert into a values(40, 50);
mysql> insert into a values(null, null);
mysql> alter table a set tiflash replica 1;
mysql> set session tidb_isolation_read_engines='tiflash';
mysql> select * from a where col0 in (null, col0);
2. What did you expect to see? (Required)
+------+------+
| col0 | col1 |
+------+------+
| 20 | 30 |
| 40 | 50 |
+------+------+
3. What did you see instead (Required)
Empty set.
4. What is your TiFlash version? (Required)
master, commit hash: 6918946
The text was updated successfully, but these errors were encountered: