Skip to content

[Bug] (nereids) SQL with slot + 1 IN (1,2,3) return empty set #12816

@Kikyou1997

Description

@Kikyou1997

Search before asking

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions