-
Notifications
You must be signed in to change notification settings - Fork 689
Fix for issue with a chain of OUTER JOINs #1105
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
Conversation
# Conflicts: # dist/alasql-worker.js # dist/alasql-worker.min.js # dist/alasql.fs.js # dist/alasql.js # dist/alasql.min.js # test/test800.js
Codecov Report
@@ Coverage Diff @@
## develop #1105 +/- ##
===========================================
+ Coverage 70.67% 70.68% +<.01%
===========================================
Files 1 1
Lines 14198 14201 +3
Branches 4792 4790 -2
===========================================
+ Hits 10035 10038 +3
Misses 4163 4163
Continue to review full report at Codecov.
|
|
You are awesome! Thank you so much. I am very sorry it took me so long to see your PR. Big thank you for digging into this ooooold old old issue. 🎉 |
|
I will release a new version in the weekend with this. |
|
Thank you! |
Fix for issue with a chain of OUTER JOINs (AlaSQL#1105)
Thank you for the time you are putting into AlaSQL!
Example:
SELECT * FROM ? T1 ' +
'OUTER JOIN ? T2 ON T1.id = T2.id ' +
'OUTER JOIN ? T3 ON T1.id = T3.id OR T2.id = T3.id ' +
'OUTER JOIN ? T4 ON T1.id = T4.id OR T2.id = T4.id OR T3.id = T4.id
Expected: rows from all tables are joined.
Actual: only all rows from T1 and T2 are present; rows from T3 and T4 that do not match T1 and T2 are missing.
See test801.js