Skip to content

rightOuter join will only join to the last table included in the list #907

@Carl-Rabbit

Description

@Carl-Rabbit

Hi, developers! @benmccann @lwhite1

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions