pgvector.git / summary / log / commit / refs
commit f1d3aa2ba81405d31ebd67d5cecc9ab4b91bbd18
Author: Andrew Kane <andrew@ankane.org>
Date: Sun Jul 16 23:02:47 2023 +0000
Updated comment [skip ci]
test/t/008_aggregates.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/t/008_aggregates.pl b/test/t/008_aggregates.pl
index 5313c41a..c4425b45 100644
--- a/test/t/008_aggregates.pl
+++ b/test/t/008_aggregates.pl
@@ -28,8 +28,8 @@ sub test_aggregate
like($res, qr/,2\.5/);
like($res, qr/,3\.5/);
- # Test matches real
- # TODO test sum
+ # Test matches real for avg
+ # Cannot test sum since sum(real) varies between calls
if ($agg eq 'avg') {
my $r1 = $node->safe_psql("postgres", "SELECT $agg(r1)::float4 FROM tst;");
my $r2 = $node->safe_psql("postgres", "SELECT $agg(r2)::float4 FROM tst;");
[parent: a722df9cac28]