Skip to content

Fix NotStartsWith residual evaluation to return correct result#3503

Open
ebyhr wants to merge 2 commits into
apache:mainfrom
ebyhr:ebi/not-start-with
Open

Fix NotStartsWith residual evaluation to return correct result#3503
ebyhr wants to merge 2 commits into
apache:mainfrom
ebyhr:ebi/not-start-with

Conversation

@ebyhr

@ebyhr ebyhr commented Jun 14, 2026

Copy link
Copy Markdown
Member

Rationale for this change

Are these changes tested?

Yes - the added test fails if we revert this PR's change.

Are there any user-facing changes?

Yes - this PR fixes a correctness issue of NotStartsWith.

@rambleraptor rambleraptor left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Couple nits, but looks great. Thanks for doing this!

Comment thread pyiceberg/expressions/visitors.py
Comment thread tests/expressions/test_residual_evaluator.py
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.

NotStartsWith residual evaluation always returns false

2 participants