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

Implement Math.round using floor on GPU #10092

Merged

Conversation

gerashegalov
Copy link
Collaborator

Spark and libcudf round are more like rould half away from zero

Reimplementing Math.round(x) for Orc Timestamp-from-Double conversion using floor(x+0.5)

Fixes #10017

Signed-off-by: Gera Shegalov gera@apache.org

Fixes NVIDIA#10017

Spark and libcudf round are more like rould half away from zero

Reimplementing Math.round from Orc TimestampFromDouble conversion
using floor

Signed-off-by: Gera Shegalov <gera@apache.org>
@gerashegalov gerashegalov self-assigned this Dec 23, 2023
@gerashegalov gerashegalov added the bug Something isn't working label Dec 23, 2023
@gerashegalov
Copy link
Collaborator Author

build

@sameerz sameerz requested a review from revans2 December 26, 2023 00:30
@gerashegalov gerashegalov merged commit 9a4ccb4 into NVIDIA:branch-24.02 Dec 26, 2023
39 checks passed
@gerashegalov gerashegalov deleted the gerashegalov/issue10017 branch December 26, 2023 19:15
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] test_casting_from_double_to_timestamp failed for DATAGEN_SEED=1702329497
2 participants