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 non-empty nulls handling in string_to_decimal and add more tests for non-empty nulls #2607

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

ttnghia
Copy link
Collaborator

@ttnghia ttnghia commented Nov 19, 2024

This fixes string_to_decimal_kernel which incorrectly handles non-emty nulls in the input. More tests are also added to verify that non-empty nulls are correctly handled in string_to_integer, string_to_decimal and string_to_float.

Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
@ttnghia ttnghia added the bug Something isn't working label Nov 19, 2024
@ttnghia ttnghia self-assigned this Nov 19, 2024
@ttnghia
Copy link
Collaborator Author

ttnghia commented Nov 19, 2024

build

Copy link
Collaborator

@hyperbolic2346 hyperbolic2346 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thanks!

@hyperbolic2346
Copy link
Collaborator

hyperbolic2346 commented Nov 19, 2024

This came up during review of #2510

@ttnghia ttnghia merged commit 7dd69e9 into NVIDIA:branch-24.12 Nov 19, 2024
4 checks passed
@ttnghia ttnghia deleted the fix_non_empty_nulls branch November 19, 2024 19:51
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 this pull request may close these issues.

2 participants