Skip to content

[common] Handle empty null counts in statistics filtering - #10852

Open
yuzelin wants to merge 1 commit into
apache:masterfrom
yuzelin:fix-empty-null-counts
Open

yuzelin wants to merge 1 commit into
apache:masterfrom
yuzelin:fix-empty-null-counts

Conversation

@yuzelin

@yuzelin yuzelin commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Purpose

Manifest entries may contain complete min/max statistics but an empty
null_counts array. Accessing this array in LeafPredicate causes an
ArrayIndexOutOfBoundsException during statistics filtering.

Treat an empty array as an unknown null count, allowing the existing
predicate logic to continue using available min/max bounds.

Tests

LeafPredicateTest#testEmptyNullCountsWithCompleteBounds

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.

1 participant