Skip to content

Conversation

@github-actions
Copy link
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
Contributor

run buildall

@yiguolei yiguolei closed this Feb 20, 2025
@yiguolei yiguolei reopened this Feb 20, 2025
@yiguolei yiguolei merged commit 7f65836 into branch-2.1 Feb 20, 2025
19 checks passed
@github-actions github-actions bot deleted the auto-pick-47985-branch-2.1 branch February 20, 2025 08:29
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