Skip to content

GH-3639: Don't drop row groups for IN(..., null) when num_nulls is not set#3640

Open
nastra wants to merge 1 commit into
apache:masterfrom
nastra:fix-stats-filter
Open

GH-3639: Don't drop row groups for IN(..., null) when num_nulls is not set#3640
nastra wants to merge 1 commit into
apache:masterfrom
nastra:fix-stats-filter

Conversation

@nastra

@nastra nastra commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

StatisticsFilter can drop row groups for IN (…, null) when num_nulls is unset and thus produce wrong query results

Closes #3639

What changes are included in this PR?

Are these changes tested?

added a test that reproduces the issue

Are there any user-facing changes?

no

@nastra nastra force-pushed the fix-stats-filter branch from cfd32ad to 6ae31bb Compare July 1, 2026 10:30
@nastra

nastra commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

/cc @wgtmac @Fokko

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.

StatisticsFilter can drop row groups for IN (…, null) when num_nulls is unset

2 participants