Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-3172: do not drop blocks with some null values if DictionaryFilter is applied for UserDefinedPredicate which keeps null values #3173

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ebartkus
Copy link

@ebartkus ebartkus commented Mar 12, 2025

Rationale for this change

Fix for #3172

What changes are included in this PR?

Adding an explicit check for the existence of null values in the block if 'UserDefinedPredicate' accepts nulls. If null values exist and the predicate accepts nulls, the block cannot be dropped.

Are these changes tested?

Yes, a new test was created.

Are there any user-facing changes?

No.

Closes #3172

@wgtmac
Copy link
Member

wgtmac commented Mar 13, 2025

Thanks for the fix! I think it looks good.

cc @gszadovszky

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.

DictionaryFilter drops blocks containing some null values even if UserDefinedPredicate "keeps" null values
2 participants