should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
# name: benchmark/micro/distinct/distinct_on_pushdown.benchmark
# description: pushdown columns using distinct on.
# group: [distinct]
name Distinct on pushdown
group micro
subgroup filter
load
create table t0 as select random()%100000 col0, random()*10000 col1, random()*100 col2, '1' col3, '2' col4, '3' col5 from range(10000000);
run
SELECT col0
FROM
(
SELECT
DISTINCT ON (floor(col0))
*
FROM t0
ORDER by col0 DESC
);