From 2a63e37e4a93e15946589858b3d5fcef9d28b990 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com> Date: Mon, 23 Dec 2024 13:27:49 +0100 Subject: [PATCH] ref --- tsl/test/expected/vector_agg_functions.out | 20 +++++++++++++------- tsl/test/sql/vector_agg_functions.sql | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/tsl/test/expected/vector_agg_functions.out b/tsl/test/expected/vector_agg_functions.out index bdb17aacb29..3a51883ae13 100644 --- a/tsl/test/expected/vector_agg_functions.out +++ b/tsl/test/expected/vector_agg_functions.out @@ -114,7 +114,7 @@ limit 1 set timescaledb.debug_require_vector_agg = :'guc_value'; ---- Uncomment to generate reference. Note that there are minor discrepancies ---- on float4 due to different numeric stability in our and PG implementations. --- set timescaledb.enable_vectorized_aggregation to off; set timescaledb.debug_require_vector_agg = 'allow'; +--set timescaledb.enable_chunkwise_aggregation to off; set timescaledb.enable_vectorized_aggregation to off; set timescaledb.debug_require_vector_agg = 'forbid'; select format('%sselect %s%s(%s) from aggfns%s%s%s;', explain, @@ -4094,7 +4094,8 @@ select s, min(cint2) from aggfns where cfloat8 > 1000 group by s order by min(ci select stddev(cint2) from aggfns where cfloat8 > 1000; stddev -------- -(0 rows) + +(1 row) select s, stddev(cint2) from aggfns where cfloat8 > 1000 group by s order by stddev(cint2), s limit 10; s | stddev @@ -4148,7 +4149,8 @@ select s, min(cint4) from aggfns where cfloat8 > 1000 group by s order by min(ci select stddev(cint4) from aggfns where cfloat8 > 1000; stddev -------- -(0 rows) + +(1 row) select s, stddev(cint4) from aggfns where cfloat8 > 1000 group by s order by stddev(cint4), s limit 10; s | stddev @@ -4169,7 +4171,8 @@ select s, sum(cint4) from aggfns where cfloat8 > 1000 group by s order by sum(ci select avg(cint8) from aggfns where cfloat8 > 1000; avg ----- -(0 rows) + +(1 row) select s, avg(cint8) from aggfns where cfloat8 > 1000 group by s order by avg(cint8), s limit 10; s | avg @@ -4201,7 +4204,8 @@ select s, min(cint8) from aggfns where cfloat8 > 1000 group by s order by min(ci select sum(cint8) from aggfns where cfloat8 > 1000; sum ----- -(0 rows) + +(1 row) select s, sum(cint8) from aggfns where cfloat8 > 1000 group by s order by sum(cint8), s limit 10; s | sum @@ -4299,7 +4303,8 @@ select s, min(s) from aggfns where cfloat8 > 1000 group by s order by min(s), s select stddev(s) from aggfns where cfloat8 > 1000; stddev -------- -(0 rows) + +(1 row) select s, stddev(s) from aggfns where cfloat8 > 1000 group by s order by stddev(s), s limit 10; s | stddev @@ -4353,7 +4358,8 @@ select s, min(ss) from aggfns where cfloat8 > 1000 group by s order by min(ss), select stddev(ss) from aggfns where cfloat8 > 1000; stddev -------- -(0 rows) + +(1 row) select s, stddev(ss) from aggfns where cfloat8 > 1000 group by s order by stddev(ss), s limit 10; s | stddev diff --git a/tsl/test/sql/vector_agg_functions.sql b/tsl/test/sql/vector_agg_functions.sql index 0e6a0d0860f..995d00d899f 100644 --- a/tsl/test/sql/vector_agg_functions.sql +++ b/tsl/test/sql/vector_agg_functions.sql @@ -98,7 +98,7 @@ limit 1 set timescaledb.debug_require_vector_agg = :'guc_value'; ---- Uncomment to generate reference. Note that there are minor discrepancies ---- on float4 due to different numeric stability in our and PG implementations. --- set timescaledb.enable_vectorized_aggregation to off; set timescaledb.debug_require_vector_agg = 'allow'; +--set timescaledb.enable_chunkwise_aggregation to off; set timescaledb.enable_vectorized_aggregation to off; set timescaledb.debug_require_vector_agg = 'forbid'; select format('%sselect %s%s(%s) from aggfns%s%s%s;',