-
Notifications
You must be signed in to change notification settings - Fork 232
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] test_window_aggs_for_batched_finite_row_windows_partitioned failed on Scala 2.13 with DATAGEN_SEED=1704033145 #10134
Comments
This is rather scary. I was able to repro it locally, and to reduce the size of the test to just have the first two count operations and max. I am going to try and debug a bit more to see what I can come up with. |
Actually I have dug into it and the failure is a test problem, not a plugin problem. The issue is that we order by both the columns b and c, but no effort has been made to make the ordering unambiguous. We got unlucky with this data seed and got two rows of input that are exactly the same We just need a way to make the ordering unambiguous. |
I suspected that might be the case. I'm looking into it now. |
…lure. Fixes NVIDIA#10134. This commit fixes test failures in `test_window_aggs_for_batched_finite_row_windows_partitioned`, resulting from ambiguous ordering in the window function input. The failing tests partition by `a`, and order by `b,c`. When the values of `b,c` have repeated values, the results from the window function execution is indeterminate. This commit changes the definition of the aggregation column `c` (that's also included in the order-by clause), to use unique long values. This guarantees deterministic output. Signed-off-by: MithunR <mythrocks@gmail.com>
…lure. (#10143) Fixes #10134. This commit fixes test failures in `test_window_aggs_for_batched_finite_row_windows_partitioned`, resulting from ambiguous ordering in the window function input. The failing tests partition by `a`, and order by `b,c`. When the values of `b,c` have repeated values, the results from the window function execution is indeterminate. This commit changes the definition of the aggregation column `c` (that's also included in the order-by clause), to use unique long values. This guarantees deterministic output. Signed-off-by: MithunR <mythrocks@gmail.com>
Describe the bug
test_window_aggs_for_batched_finite_row_windows_partitioned failed on Scala 2.13 with DATAGEN_SEED=1704033145
Steps/Code to reproduce bug
Run Integration tests with Scala 2.13
Expected behavior
Tests pass
Environment details (please complete the following information)
Additional context
The text was updated successfully, but these errors were encountered: