Skip to content

Conversation

@akhaneev
Copy link
Contributor

@akhaneev akhaneev commented May 2, 2019

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

@codecov-io
Copy link

Codecov Report

Merging #1105 into develop will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ
dist/alasql.fs.js 70.68% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac380c9...c5eb958. Read the comment docs.

@mathiasrw
Copy link
Member

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. 🎉

@mathiasrw mathiasrw merged commit dd08758 into AlaSQL:develop May 23, 2019
@mathiasrw
Copy link
Member

I will release a new version in the weekend with this.

@akhaneev
Copy link
Contributor Author

Thank you!

macrat added a commit to macrat/alasql that referenced this pull request Jun 3, 2019
Fix for issue with a chain of OUTER JOINs (AlaSQL#1105)
macrat added a commit to macrat/alasql that referenced this pull request Jun 3, 2019
macrat added a commit to macrat/alasql that referenced this pull request Jun 4, 2019
mathiasrw added a commit that referenced this pull request Sep 16, 2019
All credits goes to @macrat

* Updated dependencies

* Fixed test 251/383

* Merged #1105

* Remove node 4 and 5 build support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants