Skip to content

[CALCITE-7638] SetOpToFilterRule MINUS drops rows when right-side filters evaluate to UNKNOWN#5072

Merged
xiedeyantu merged 1 commit into
apache:mainfrom
xiedeyantu:CALCITE-7638
Jul 5, 2026
Merged

[CALCITE-7638] SetOpToFilterRule MINUS drops rows when right-side filters evaluate to UNKNOWN#5072
xiedeyantu merged 1 commit into
apache:mainfrom
xiedeyantu:CALCITE-7638

Conversation

@xiedeyantu

Copy link
Copy Markdown
Member

Jira Link

CALCITE-7638

@mihaibudiu mihaibudiu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is exactly the kind of stuff which is caught by a good quidem test.

@asolimando asolimando left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@xiedeyantu

Copy link
Copy Markdown
Member Author

This is exactly the kind of stuff which is caught by a good quidem test.

@mihaibudiu I have added quidem test. I compared the incorrectly rewritten and correctly rewritten SQL, which you can see at this link: https://onecompiler.com/postgresql/44u6r3qz4 . Please take a look.

@mihaibudiu mihaibudiu added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Jul 4, 2026
…ters evaluate to UNKNOWN

Signed-off-by: xiedeyantu <czjourney@163.com>
@sonarqubecloud

sonarqubecloud Bot commented Jul 5, 2026

Copy link
Copy Markdown

@xiedeyantu xiedeyantu merged commit 0d5bdc8 into apache:main Jul 5, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LGTM-will-merge-soon Overall PR looks OK. Only minor things left.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants