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

fix list of primitives is_null() for optional float and double #3987

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

ironage
Copy link
Contributor

@ironage ironage commented Oct 8, 2020

The bug is because the comparison ends up evaluating Optional<Float>{} == Float(NaN) which is false. The fix is to use the checks in column_type_traits.hpp which handle null from Optional types correctly.

I'm also pulling in some of the new test helper code from v10 because it makes writing generalized type tests much easier.

@ironage ironage self-assigned this Oct 8, 2020
@ironage ironage merged commit ff2f8be into master Oct 9, 2020
@ironage ironage deleted the js/primitive-list-nulls branch October 9, 2020 18:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants