Skip to content

fix: Fix nullability of logical InSubquery expression #23429

Open
AdamGS wants to merge 2 commits into
apache:mainfrom
AdamGS:adamg/fix-23428
Open

fix: Fix nullability of logical InSubquery expression #23429
AdamGS wants to merge 2 commits into
apache:mainfrom
AdamGS:adamg/fix-23428

Conversation

@AdamGS

@AdamGS AdamGS commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Report correct nullability for InSubquery logical exprs.

What changes are included in this PR?

OR the expression's and the subquery's nullability, more like ScalarSubquery.

Are these changes tested?

  1. Targeted unit tests InSubquery nullability
  2. Unit tests to verify the expression simplifier handles these queries correctly.

Are there any user-facing changes?

No

AdamGS added 2 commits July 9, 2026 19:40
Signed-off-by: Adam Gutglick <adamgsal@gmail.com>
Signed-off-by: Adam Gutglick <adamgsal@gmail.com>
@github-actions github-actions Bot added logical-expr Logical plan and expressions optimizer Optimizer rules labels Jul 9, 2026
@AdamGS AdamGS changed the title Adamg/fix 23428 fix: Fix nullability of logical InSubquery expression Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-expr Logical plan and expressions optimizer Optimizer rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logical InSubquery only take the expression nullability into account

1 participant