Repository navigation
Choose the scan version per benchmark in the bench orchestrator - #11049
Merged
Merged
Conversation
Base automatically changed from
ji/duckdb-scan-v2-tpcds-clickbench
to
develop
October 30, 2026 16:58
The duckdb-bench and datafusion-bench binaries no longer pick the V2 scan from the benchmark name or VORTEX_SCAN_V2. `--scan-v2` now defaults to false, and the bench orchestrator passes `--scan-v2 true` for TPC-H, TPC-DS and ClickBench and `--scan-v2 false` for every other benchmark. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UeniBB3qKAchqvKuep7iL2 Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
joseph-isaacs
force-pushed
the
ji/vibrant-clarke-5b971d
branch
from
October 30, 2026 17:11
3e15d8c to
2a84bce
Compare
Replace the set of V2 benchmarks with a map that gives every benchmark its scan version, checked by a test to cover every benchmark, and print the scan version when `vx-bench run` starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UeniBB3qKAchqvKuep7iL2 Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Merging this PR will degrade performance by 17.95%2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing |
robert3005
approved these changes
Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follows #11047.
The benchmark binaries no longer decide which scan version a benchmark uses. That choice now lives in the Python bench orchestrator (
vx-bench), which lists the scan version of every benchmark.Changes
duckdb-benchanddatafusion-bench:--scan-v2is a plainboolthat defaults tofalse. The binaries no longer default it from the benchmark name (TPC-H, TPC-DS, ClickBench) or readVORTEX_SCAN_V2=0.duckdb-benchalways sets the scan version from the flag, soVORTEX_SCAN_V2no longer affects it either.bench-orchestrator:
BENCHMARK_SCAN_V2inconfig.pymaps every benchmark to its scan version:tpch,tpcds,clickbenchappian,clickbench-sorted,fineweb,gh-archive,job,polarsignals,public-bi,statpopgen,spatialbench,vortexFor DataFusion and DuckDB,
BenchmarkExecutor.build_commandpasses--scan-v2 trueor--scan-v2 falsefrom this map. Lance commands don't get the flag.vx-bench runprints the scan version (Vortex scan: V2) in its run header.Tests:
test_every_benchmark_has_a_scan_versionfails if a new benchmark is added without a scan version.test_build_command_selects_scan_versionchecks the flag for every benchmark on both engines. The Lance test now also checks that the flag is omitted.CI goes through
vx-bench run, so the scan versions CI uses don't change. A binary run directly now uses V1 unless you pass--scan-v2 true.