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 Spark 3.2.0 test_div_by_zero_ansi failures #3499

Merged
merged 1 commit into from
Sep 15, 2021

Conversation

tgravescs
Copy link
Collaborator

@tgravescs tgravescs commented Sep 15, 2021

error_message = 'java.lang.ArithmeticException: divide by zero':

FAILED ../../src/main/python/arithmetic_ops_test.py::test_div_by_zero_ansi[1/0]
FAILED ../../src/main/python/arithmetic_ops_test.py::test_div_by_zero_ansi[a/0]
FAILED ../../src/main/python/arithmetic_ops_test.py::test_div_by_zero_ansi[a/b]

this is caused by Spark now throwing SparkArithmeticException instead of java.lang.ArithmeticException

part of #3483

Signed-off-by: Thomas Graves <tgraves@nvidia.com>
@tgravescs tgravescs added the test Only impacts tests label Sep 15, 2021
@tgravescs tgravescs added this to the Sep 13 - Sep 24 milestone Sep 15, 2021
@tgravescs tgravescs self-assigned this Sep 15, 2021
@tgravescs
Copy link
Collaborator Author

build

@tgravescs tgravescs merged commit e332f1c into NVIDIA:branch-21.10 Sep 15, 2021
@tgravescs tgravescs deleted the fix320arith branch September 15, 2021 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants