Skip to content

Convert left correlated join to inner join during transformation#19922

Merged
sopel39 merged 1 commit intotrinodb:masterfrom
starburstdata:ks/fix_regression
Nov 27, 2023
Merged

Convert left correlated join to inner join during transformation#19922
sopel39 merged 1 commit intotrinodb:masterfrom
starburstdata:ks/fix_regression

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`)

@sopel39 sopel39 requested review from losipiuk and martint November 27, 2023 16:36
@cla-bot cla-bot bot added the cla-signed label 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.
@sopel39 sopel39 merged commit ca96069 into trinodb:master Nov 27, 2023
@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.

2 participants