Skip to content
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 clause comparison not working as per expectations #24760

Open
shloktech opened this issue Jan 21, 2025 · 0 comments
Open

In clause comparison not working as per expectations #24760

shloktech opened this issue Jan 21, 2025 · 0 comments

Comments

@shloktech
Copy link

Creating this bug as per discussion with @wendigo and @martint over comment: #24739 (comment)

Description:
The below query should output NULL as per comment: #24739 (comment) but it is outputting True:

Image

If I compare them then it outputs null which is expected:

Image

Queries for the same:

1. select ARRAY[null] in (select ARRAY[null]);
2. select ARRAY[null] = ARRAY[null];

For more context refer #24739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant