Skip to content

Optimization: support push down limit when full join #12963

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

JasonLi-cn
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

When JoinType is Full, push the limit down to the left and right sides.

What changes are included in this PR?

modify optimizer push_down_limit

Are these changes tested?

yes

Are there any user-facing changes?

@github-actions github-actions bot added optimizer Optimizer rules sqllogictest SQL Logic Tests (.slt) labels Oct 16, 2024
@Dandandan Dandandan merged commit e5cdc17 into apache:main Oct 16, 2024
24 checks passed
@alamb
Copy link
Contributor

alamb commented Jan 28, 2025

I think this optimization produces incorrect results. See

@alamb
Copy link
Contributor

alamb commented Jan 28, 2025

@zhuqi-lucas has a proposal to revert this optimization in

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
optimizer Optimizer rules sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants