From f785e71d3b61c986a12e0cd5767e19568b616a2a Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Thu, 14 Apr 2016 15:46:03 +0200 Subject: [PATCH] Fix: numeric is a valid numeric column type Actually this is the type of aggregated _vovw_count columns --- scripts-available/CDB_Overviews.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-available/CDB_Overviews.sql b/scripts-available/CDB_Overviews.sql index f00d1b0..04beae3 100644 --- a/scripts-available/CDB_Overviews.sql +++ b/scripts-available/CDB_Overviews.sql @@ -509,7 +509,7 @@ BEGIN column_type := CDB_ColumnType(reloid, column_name); CASE column_type - WHEN 'double precision', 'real', 'integer', 'bigint' THEN + WHEN 'double precision', 'real', 'integer', 'bigint', 'numeric' THEN IF column_name = '_vovw_count' THEN RETURN 'SUM(_vovw_count)'; ELSE