13 lines
332 B
Plaintext
13 lines
332 B
Plaintext
# name: benchmark/micro/aggregate/quantile/quantile.benchmark
|
|
# description: Quantile Function
|
|
# group: [quantile]
|
|
|
|
name Quantile
|
|
group quantile
|
|
|
|
load
|
|
create table quantile as select range r, random() from range(10000000) union all values (NULL, 0.1), (NULL, 0.5), (NULL, 0.9) order by 2;
|
|
|
|
run
|
|
SELECT quantile(r, 0.5) FROM quantile
|