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

Convert left correlated join to inner join during transformation #19922

Merged
merged 1 commit into from Nov 27, 2023

Conversation

sopel39
Copy link
Member

@sopel39 sopel39 commented Nov 27, 2023

It's possible to simplify outer join to inner
join when subquery side is at least scalar.
This makes sure dynamic filters are propagated
to left join side and more efficient (cross join)
implementaiton is used.

# General
* Fix performance regression caused by suboptimal scalar subquries planning. ({issue}`19922`)

It's possible to simplify outer join to inner
join when subquery side is at least scalar.
This makes sure dynamic filters are propagated
to left join side and more efficient (cross join)
implementaiton is used.
@sopel39 sopel39 merged commit ca96069 into trinodb:master Nov 27, 2023
87 of 88 checks passed
@sopel39 sopel39 mentioned this pull request Nov 27, 2023
@github-actions github-actions bot added this to the 434 milestone Nov 27, 2023
@raunaqmorarka raunaqmorarka deleted the ks/fix_regression branch November 28, 2023 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants