-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Failing tests in master: left_join_using and left_join #235
Comments
The regression seems to have been introduced in this commit (or at least I start to see it with this commit).
@Dandandan fyi |
Hm. I will have a look tomorrow if someone doesn't beat me to it. There is also a known issue with the left join being wrong across multiple batches, so it could that the fix included in this particular commit triggers the issue in those tests |
I reproduced the bug by explicitly setting the concurrency for those tests to So here is my hypothesis into what happens:
I have a feeling that to fix this in the general case it would be best to "just" fix the left join implementation. Another option would be maybe to cherry-pick this change which would fix just this test from PR #55: |
I was thinking (this may be completely off): Since nulls are generally ignored on joins, can't we fix the null stuff on joins by a "drop_null" operation on both sides, prior to any hashing and actual join? |
Thanks @jorgecarleitao I added an implementation of left join where unmatched left rows are produced at the end of a stream. I think there might be some possible improvements in the current implementation:
@andygrove this also seems to fix the tests in this issue, would be nice if you could confirm this on the More generally, maybe we should run the sql tests in some different settings (concurrency / optimizations, etc) to do some more exhaustive checking using all of the different configurations / environmental changes. |
* Interval dt and mdn cmp * update * test added * extend tests
* Interval dt and mdn cmp * update * test added * extend tests
Describe the bug
To Reproduce
Checkout commit
c945b03f3a459a5c15f481f9d52819df56e1090c
and runcargo test
.Expected behavior
Tests should pass.
Additional context
rustc 1.51.0 (2fd73fabe 2021-03-23)
Running on my 24 core desktop so perhaps this uncovers a race condition?
The text was updated successfully, but these errors were encountered: