Skip to content

Conversation

@sdf-jkl
Copy link
Contributor

@sdf-jkl sdf-jkl commented Jan 28, 2026

Which issue does this PR close?

Rationale for this change

Check issue

What changes are included in this PR?

Match arm to support preimage for InList expressions in expr_simplifier.rs

Are these changes tested?

Yes, added two tests for IN LIST and NOT IN LIST support.

Are there any user-facing changes?

No

@github-actions github-actions bot added the optimizer Optimizer rules label Jan 28, 2026
Copy link
Contributor

@masonh22 masonh22 left a comment

Choose a reason for hiding this comment

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

This looks good, one small comment

@sdf-jkl
Copy link
Contributor Author

sdf-jkl commented Jan 29, 2026

Thanks for your review @masonh22.

I am thinking about NULL support inside InList expressions for this simplification. I don't think InList supports distinct behavior like is distinct from or is not distinct from, so we should probably avoid it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimizer Optimizer rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InList support for pre-image udf

2 participants