cartodb-postgresql/test/CDB_DistTypeTest.sql

5 lines
130 B
MySQL
Raw Normal View History

2015-06-09 03:01:50 +08:00
WITH data AS (
SELECT pow(x,3)::numeric x FROM generate_series(-100,100) x
)
SELECT CDB_DistType(array_agg(x)) FROM data