Skip to content

feat: Improve InListExpr types, flatten dict haystacks and validate in try_new_from_array#21402

Open
buraksenn wants to merge 1 commit intoapache:mainfrom
buraksenn:inlist-type-validation
Open

feat: Improve InListExpr types, flatten dict haystacks and validate in try_new_from_array#21402
buraksenn wants to merge 1 commit intoapache:mainfrom
buraksenn:inlist-type-validation

Conversation

@buraksenn
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

To make needle/haystack more clear, add comments and with flattened we can use optimizations.

What changes are included in this PR?

  • flatten dictionary haystacks
  • add detailed comments for needle/haystack and dictionary handling
  • type validation to try_new_from_array

Are these changes tested?

Yes. I've added new tests and existing pass test.

Are there any user-facing changes?

Yes. try_new_from_array now expects data types to be logically equal

@github-actions github-actions bot added physical-expr Changes to the physical-expr crates physical-plan Changes to the physical-plan crate labels Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-expr Changes to the physical-expr crates physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve InListExpr types and expectations

1 participant