Fix: numeric is a valid numeric column type

Actually this is the type of aggregated _vovw_count columns
This commit is contained in:
Javier Goizueta
2016-04-14 15:46:03 +02:00
parent 16d08ef52b
commit f785e71d3b

View File

@@ -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