Import cartodb/lib/sql/test, add search_path tweaker

This commit is contained in:
Sandro Santilli
2014-05-05 18:48:48 +02:00
parent 5e28417b3d
commit 0960276046
30 changed files with 556 additions and 22 deletions

View File

@@ -0,0 +1,5 @@
WITH data AS (
SELECT array_agg(x) x FROM generate_series(1,100) x
WHERE x % 5 != 0 AND x % 7 != 0
)
SELECT unnest(CDB_QuantileBins(x, 7)) FROM data