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-19.2: sql: fix incorrect interleaved join planning with limits #51435

Merged

Conversation

RaduBerinde
Copy link
Member

Backport 1/1 commits from #51398.

/cc @cockroachdb/release


The interleaved joiner doesn't handle hard limits and the planning
code doesn't check for this. This change fixes the planning and adds
an assertion in the interleaved joiner.

Fixes #51397.

Release note (bug fix): fixed incorrect results in some cases
involving joins on interleaved tables with limits.

The interleaved joiner doesn't handle hard limits and the planning
code doesn't check for this. This change fixes the planning and adds
an assertion in the interleaved joiner.

Fixes cockroachdb#51397.

Release note (bug fix): fixed incorrect results in some cases
involving joins on interleaved tables with limits.
@RaduBerinde RaduBerinde requested a review from a team as a code owner July 14, 2020 20:34
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@RaduBerinde RaduBerinde merged commit bfd6d2f into cockroachdb:release-19.2 Jul 14, 2020
@RaduBerinde RaduBerinde deleted the backport19.2-51398 branch July 14, 2020 21:42
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