Skip to content

branch-2.1: [fix](nereids)check if correlated filter exists before converting apply to join #47985 - #48091

Merged
yiguolei merged 1 commit into
branch-2.1from
auto-pick-47985-branch-2.1
Feb 20, 2025
Merged

branch-2.1: [fix](nereids)check if correlated filter exists before converting apply to join #47985#48091
yiguolei merged 1 commit into
branch-2.1from
auto-pick-47985-branch-2.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #47985

…ly to join (#47985)
example sql:
`SELECT *
FROM t1
WHERE t1.x IN (SELECT x FROM t2 WHERE t1.y is NULL AND t1.y is NOT NULL);`
the correlated filter `t1.y is NULL AND t1.y is NOT NULL` will be
replaced as `FALSE` by SimplifyConflictCompound rule. So we need check
if correlated filter exists before converting apply to join
Related PR: (#47385)
@yiguolei

Copy link
Copy Markdown
Contributor

run buildall

@yiguoleiyiguolei reopened this Feb 20, 2025
@yiguolei
yiguolei merged commit 7f65836 into branch-2.1Feb 20, 2025
@github-actions
github-actionsBot deleted the auto-pick-47985-branch-2.1 branch February 20, 2025 08:29
Sign up for freeto 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.

2 participants

@yiguolei@starocean999