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

Null safe join works wrong with NaN values #5392

Closed
comphead opened this issue Feb 25, 2023 · 1 comment · Fixed by #5446
Closed

Null safe join works wrong with NaN values #5392

comphead opened this issue Feb 25, 2023 · 1 comment · Fixed by #5446
Assignees
Labels
bug Something isn't working

Comments

@comphead
Copy link
Contributor

Describe the bug
The DF and PG null safe join behavior is not consistent when working with NaN values

To Reproduce
PG

select * from (select 3 a, 'nan'::float b) x where b is not distinct from 'nan'::float
a |	b
------
3 |	


DF

❯ select * from (select 3 a, 'nan'::float b) x where b is not distinct from 'nan'::float;
0 rows in set. Query took 0.001 seconds.

Expected behavior
Should work the same as PG

Additional context
Add any other context about the problem here.

@comphead comphead added the bug Something isn't working label Feb 25, 2023
@comphead
Copy link
Contributor Author

cc @sunchao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant