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

sql: bugfix to interleaved join planning criteria #26756

Merged
merged 1 commit into from
Jun 18, 2018

Commits on Jun 15, 2018

  1. sql: bugfix to interleaved join planning criteria

    Previously, interleaved joins could take place if the tables were
    ancestors of each other, there was a merge join ordering on the equality
    columns, and the left equality columns were a prefix of the interleaved
    columns. These criteria are insufficient: the right equality columns
    must also be a prefix of the interleaved columns. A case where this
    wouldn't naturally hold is where the right equality columns get a merge
    join ordering because they're known to be constant.
    
    Release note (bug fix): joins across two interleaved tables no longer
    return incorrect results under certain circumstances when the equality
    columns aren't all part of the interleaved columns.
    jordanlewis committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    91a325e View commit details
    Browse the repository at this point in the history