Skip to content

IN/NOT IN List: NULL is not equal to NULL #2817

@liukun4515

Description

@liukun4515

Describe the bug
A clear and concise description of what the bug is.

This #2156 introduce an optimization for checking value in/not in the list.

But it ignore the NULL case.

In the SQL system, NULL is not equal to NULL.

Like below case:

select 1 in (2,3,4,5,......100, null)  return null

But now It will return false.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions