From 71d891c0675ef122916de829d8b34f3fa5ee2736 Mon Sep 17 00:00:00 2001 From: John Krauss Date: Thu, 16 Feb 2017 17:53:38 +0000 Subject: [PATCH] handle blank aggregates --- src/python/test/autotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/test/autotest.py b/src/python/test/autotest.py index 02b712b..5f8dd1e 100644 --- a/src/python/test/autotest.py +++ b/src/python/test/autotest.py @@ -7,7 +7,7 @@ from util import query USE_SCHEMA = True MEASURE_COLUMNS = query(''' -SELECT distinct numer_id, numer_aggregate NOT ILIKE 'sum' as point_only +SELECT distinct numer_id, Coalesce(numer_aggregate, '') NOT ILIKE 'sum' as point_only FROM observatory.obs_meta WHERE numer_type ILIKE 'numeric' AND numer_weight > 0