Skip to content

Core: Add strict content stats evaluator - #17701

Draft
nastra wants to merge 2 commits into
apache:mainfrom
nastra:5-strict-stats-evaluator
Draft

Core: Add strict content stats evaluator#17701
nastra wants to merge 2 commits into
apache:mainfrom
nastra:5-strict-stats-evaluator

Conversation

@nastra

@nastra nastra commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

This currently depends on #17648.

It adds the strict content stats evaluator (similar to #17413) and updates the strict metrics evaluator tests to make it possible to run them against the strict metrics & stats evaluators.

The strict evaluator assumed that a field has no nulls when a null count
is missing for the field, and that a field has no NaNs when a NaN count is
unavailable. Both assumptions allow reporting that all rows in a file match
a comparison predicate when they may not, because neither null nor NaN
matches a comparison predicate.

Treat unknown counts as possible nulls and NaNs instead. Optionality is used
to determine whether a field can contain nulls, and NaNs are only considered
for floating point fields, where NaN counts are tracked.
@nastra
nastra marked this pull request as draft August 17, 2026 18:51
@nastra
nastra force-pushed the 5-strict-stats-evaluator branch from eba78ad to 0e9d9c4 Compare August 17, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant