Skip to content

Commit

Permalink
ref
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzm committed Dec 23, 2024
1 parent 5bc8260 commit 2a63e37
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
20 changes: 13 additions & 7 deletions tsl/test/expected/vector_agg_functions.out
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/vector_agg_functions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;',
Expand Down

0 comments on commit 2a63e37

Please sign in to comment.