Skip to content
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

[release/3.1] Query: Map projection properly when joining 2 tables #20207

Merged
merged 1 commit into from
Mar 22, 2020

Commits on Mar 7, 2020

  1. Query: Map projection properly when joining 2 tables

    When joining 2 tables in relational, we lift the table from inner select expression and copy over projections. If one of this projection is same as any outer projection then we reuse the same projection. That means the associated indexes in inner shaper will go to different indexes rather than in linear fashion.
    Fix is to remember which index each projection went and use that rather than applying an offset.
    
    Resolves #19616
    smitpatel committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    9e3869b View commit details
    Browse the repository at this point in the history