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 cast string to bool #2903

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Conversation

andygrove
Copy link
Contributor

@andygrove andygrove commented Jul 9, 2021

Builds on #2898 and closes #2902

In CAST string to bool, we were not removing whitespace and were performing a case-sensitive comparison so we did not recognize TRUE as a boolean value.

The bug fix is in this commit: 3488fb4

@andygrove andygrove added bug Something isn't working P0 Must have for release labels Jul 9, 2021
@andygrove andygrove added this to the July 5 - July 16 milestone Jul 9, 2021
@andygrove andygrove self-assigned this Jul 9, 2021
jlowe
jlowe previously approved these changes Jul 9, 2021
Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove
Copy link
Contributor Author

build

Copy link
Member

@jlowe jlowe left a comment

Choose a reason for hiding this comment

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

Now that the dependency has been merged and this rebased, is there a reason it's still in draft?

@andygrove andygrove marked this pull request as ready for review July 13, 2021 14:00
@andygrove
Copy link
Contributor Author

Now that the dependency has been merged and this rebased, is there a reason it's still in draft?

No. I just forgot to change it last night. Updated.

@jlowe jlowe merged commit f75d0a0 into NVIDIA:branch-21.08 Jul 13, 2021
@andygrove andygrove deleted the fix-cast-string-to-bool branch November 30, 2021 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 Must have for release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] CAST string to bool produces incorrect results in some cases
3 participants