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

Improve CAST string to float implementation to handle more edge cases #2933

Merged
merged 20 commits into from
Jul 20, 2021

Conversation

andygrove
Copy link
Contributor

Signed-off-by: Andy Grove andygrove@nvidia.com

Closes #2900

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 added the bug Something isn't working label Jul 14, 2021
@andygrove andygrove added this to the July 5 - July 16 milestone Jul 14, 2021
@andygrove andygrove self-assigned this Jul 14, 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>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove
Copy link
Contributor Author

Thanks @jlowe this is ready for another review.

andygrove and others added 9 commits July 16, 2021 07:21
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
jlowe
jlowe previously approved these changes Jul 16, 2021
@andygrove
Copy link
Contributor Author

build

@andygrove
Copy link
Contributor Author

Build failed with unrelated test failure:

[2021-07-19T16:37:26.722Z] - Cast from string to date using random inputs with valid year prefix *** FAILED ***
[2021-07-19T16:37:26.722Z]   Mismatch casting string [2021-012] to DateType. CPU: 2021-12-01; GPU: null (CastOpSuite.scala:235)

I am investigating.

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove
Copy link
Contributor Author

build

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@jlowe
Copy link
Member

jlowe commented Jul 19, 2021

build

@andygrove andygrove merged commit 2f965b6 into NVIDIA:branch-21.08 Jul 20, 2021
@andygrove andygrove deleted the fix-cast-string-to-float branch July 20, 2021 00:23
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.

[BUG] CAST string to float/double produces incorrect results in some cases
2 participants