rightOuter join will only join to the last table included in the listSee original GitHub issue
rightOuter join has the same bug with leftOuter join, which is mentioned in #807. Left outer join is easy to fix, while this one will be a little bit difficult.
The problem is related to field
joinColumnIndexes. In the right outer join, the join columns in the first table will be removed, then the indexes in this field become invalid. If we continue to joining to next table, an error will show up in function
I plan to fix it by recomputing
joinColumnIndexes after each join (which is not elegent in some way). OR we can choose to remove the join column in table2 rather than table1 (this will change the order of the column).
I look forward to hearing your thoughts.
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
OK, I will try to fix
I haven’t found any bugs in
fullOuter. I’ll add some tests later and keep an eye on it.