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

Add minValue overflow check in ORC double-to-timestamp cast #10497

Merged

Conversation

gerashegalov
Copy link
Collaborator

@gerashegalov gerashegalov commented Feb 25, 2024

Check for overflow towards positive and negative Infinity

Fixes #10431

Test

TZ=UTC \
DATAGEN_SEED=1708012573 \
SPARK_HOME=~/dist/spark-3.5.0-bin-hadoop3 \
TEST_PARALLEL=0 \
./integration_tests/run_pyspark_from_build.sh \
  -s -k test_casting_from_overflow_double_to_timestamp \
  --test_oom_injection_mode=never 

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

Check for overflow towards negative Infinity

Fixes NVIDIA#10431

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

build

1 similar comment
@gerashegalov
Copy link
Collaborator Author

build

Signed-off-by: Gera Shegalov <gera@apache.org>
@gerashegalov
Copy link
Collaborator Author

@gerashegalov
Copy link
Collaborator Author

build

@gerashegalov gerashegalov merged commit 2d408dc into NVIDIA:branch-24.04 Feb 27, 2024
38 of 40 checks passed
@gerashegalov gerashegalov deleted the gerashegalov/issue10431 branch February 27, 2024 02:57
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_overflow_double_to_timestamp DID NOT RAISE <class 'Exception'>
2 participants