Skip to content

Apache DataFusion SQL Query Engine

785 B
Raw Blame
description = "Grouped COUNT(DISTINCT) across types, cardinalities, skew and duplicate-heavy groups; compare --partitions 1, 4 and 12 with DATAFUSION_OPTIMIZER_SINGLE_DISTINCT_PREFER_NATIVE=false/true"

[[options]]
name = "rows"
env = "GROUPED_DISTINCT_ROWS"
default = "4000000"
help = "Input rows generated outside the timed query."

[[examples]]
command = "cargo run --release --bin benchmark_runner -- grouped_count_distinct --iterations 10 --partitions 1"
description = "Compare grouped DISTINCT counts at the issue's four-million-row scale."

[[examples]]
command = "cargo run --release --bin benchmark_runner -- grouped_count_distinct --iterations 10 --partitions 12"
description = "Exercise parallel state merging, including hot integer, string and composite groups (Q07-Q09)."