doris
doris copied to clipboard
[Bug] (nereids) SQL with `slot + 1` IN (1,2,3) return empty set
Search before asking
- [X] I had searched in the issues and found no similar issues.
Version
master
What's Wrong?
-- BE core
select * from t1 where true in (1,3,4);
-- wrong result
select * from t1 where col1 + 1 > 3 in (1,3,4);
What You Expected?
Return correct result set
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct