Use equivalent 5M sin benchmark query on Trino
This commit is contained in:
+1
-1
@@ -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)",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user