Skip to content

test: reuse null-aware join fuzz reference results - #26838

Merged
adriangb merged 2 commits into
apache:mainfrom
bvolpato:bvolpato/cache-null-aware-fuzz-reference
Nov 6, 2026
Merged

adriangb merged 2 commits into
apache:mainfrom
bvolpato:bvolpato/cache-null-aware-fuzz-reference

Conversation

@bvolpato

@bvolpato bvolpato commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

Fork CI setup: For pull requests from a fork to main, enable workflows in your fork's Actions tab before you push.
See the fork CI setup guide.

Which issue does this PR close?

Part of #26759 and #13813.

Rationale for this change

The null-aware join fuzzer reruns each reference query for every batch-size and partition configuration. Each seed uses immutable tables, so those expected rows can be computed once and reused.

What changes are included in this PR?

Build the query cases once and cache their reference rows per seed in a single-partition reference context. Every actual query/configuration combination still runs, with the existing diagnostics and anti-join plan-shape assertions.

What is the testing strategy for this PR?

Original paired ci-profile runs with the same worker limit took 211s before the change and 118s after it. These are single runs on a shared Linux host. Reference-query executions fall by about 83% while actual-query coverage is unchanged.

The existing differential test exercises the cached results and every actual query configuration:

cargo test --profile ci -p datafusion --test extended_tests --features extended_tests null_aware_join_matches_reference

The full ./dev/rust_lint.sh checks (including formatting and both Clippy configurations) and the extended workspace suite passed after rebasing onto current main. The RSS sampler fix from #26445 is now included in main.

Are there any user-facing changes?

None. This changes the test harness only.

AI-assisted contribution.

@github-actions github-actions Bot added the core Core DataFusion crate label Oct 28, 2026
@adriangb

Copy link
Copy Markdown
Contributor

@bvolpato let me know when this is ready for reviewe

@bvolpato
bvolpato force-pushed the bvolpato/cache-null-aware-fuzz-reference branch from 6f798e8 to 3ff19ad Compare October 29, 2026 00:09
@bvolpato
bvolpato marked this pull request as ready for review October 29, 2026 00:27
@bvolpato

Copy link
Copy Markdown
Contributor Author

This is ready for review now, thanks.

@adriangb
adriangb added this pull request to the merge queue Nov 6, 2026
Merged via the queue into apache:main with commit a616831 Nov 6, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate v57.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants