Use equivalent 5M sin benchmark query on Trino

This commit is contained in:
mo
2026-06-25 01:24:58 +00:00
parent 2cf90c9e14
commit 4e1cf9ef6c
+1 -1
View File
@@ -52,7 +52,7 @@ SAMPLES: dict[str, list[dict[str, str]]] = {
BENCHMARK_SQL = {
"postgres": "SELECT sum(sin(i)) AS total FROM generate_series(1, 5000000) i",
"trino": "SELECT sum(sin(a.x)) AS total FROM unnest(sequence(1,2500)) a(x) CROSS JOIN unnest(sequence(1,2000)) b(y)",
"trino": "SELECT sum(sin(x + (y - 1) * 5000)) AS total FROM unnest(sequence(1,5000)) a(x) CROSS JOIN unnest(sequence(1,1000)) b(y)",
}