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 to date bug #2890

Merged
merged 3 commits into from
Jul 12, 2021
Merged

Conversation

andygrove
Copy link
Contributor

@andygrove andygrove commented Jul 8, 2021

This PR builds on #2875 and closes #2868

Commit # 4 adds the test and commit # 5 adds the fix.

There was a bug in the regex that sanitizes input for CAST string to date where it was removing trailing characters in some cases, converting invalid inputs into valid inputs.

@andygrove andygrove added bug Something isn't working P0 Must have for release labels Jul 8, 2021
@andygrove andygrove added this to the July 5 - July 16 milestone Jul 8, 2021
@andygrove andygrove self-assigned this Jul 8, 2021
@jlowe jlowe marked this pull request as draft July 8, 2021 20:08
@jlowe
Copy link
Member

jlowe commented Jul 8, 2021

Marking this a draft so it isn't inadvertently committed while #2875 is under review.

jlowe
jlowe previously approved these changes Jul 9, 2021
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove marked this pull request as ready for review July 9, 2021 21:35
@andygrove
Copy link
Contributor Author

This is now rebased.

@jlowe
Copy link
Member

jlowe commented Jul 9, 2021

build

@andygrove andygrove merged commit c1dbd25 into NVIDIA:branch-21.08 Jul 12, 2021
@andygrove andygrove deleted the fix-cast-to-date-bug branch July 12, 2021 14:05
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] to_date produces wrong value on GPU for some corner cases
2 participants