-
Notifications
You must be signed in to change notification settings - Fork 237
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
[BUG] hash_aggregate_test.py::test_hash_multiple_mode_query_avg_distincts failed with DATAGEN_SEED=1705756525 #10234
Comments
I ran this locally and was not able to reproduce it. I think it is the same problem as #9822 and #10026 because average really is a |
I'm not certain this is the same issue. I was unable to reproduce this with spark 3.3.3-scala-2.12, but it repros consistently for me with spark-3.3.3-scala-2.13 using DATAGEN_SEED= 1705756525. I'm not sure how the scala version could affect this. @revans2 did you test with 2.12 or 2.13? |
I think I only tried 2.12 |
With debug logging, I have verified that the arithmetic results I am getting from the pluing with scala2.12 and 2.13 are the same. I believe the problem here is that for some reason when I run with scala-2.13, the pytest.ini file is not being loaded, so our marks are not being honored. There are a lot of warnings about marks when I run with scala-2.13, for example:
I suspect that is why this particular test is failing in 2.13 and not in 2.12. From the logs, I can see a difference here:
I haven't quite nailed down why this is happening yet. The root-dirs are the same, so I'm not sure why it's not finding the pytest.ini file. |
Actually, I didn't notice this before, because I wasn't printing the test output data in the successful run. But it looks like in this case it is the CPU that is producing different results between 2.12 and 2.13:
|
Uploading the input data I captured from the integration test. |
This is what I got running in spark shell. I did it with just
|
saw this again in last night integration tests: DATAGEN_SEED=1710866199 |
Describe the bug
Detailed output
Steps/Code to reproduce bug
Expected behavior
Environment details (please complete the following information)
Additional context
Scala 2.13 test
DATAGEN_SEED=1705756525
The text was updated successfully, but these errors were encountered: