mirror of
https://github.com/CartoDB/crankshaft.git
synced 2024-11-01 10:20:48 +08:00
agg set error fix
This commit is contained in:
parent
e03c3eece2
commit
d8604f3c9b
@ -114,7 +114,7 @@ DECLARE
|
||||
d numeric;
|
||||
BEGIN
|
||||
dist := 1e999;
|
||||
pols := array_agg((ST_dump(polygon)).geom);
|
||||
WITH collection as (SELECT (ST_dump(polygon)).geom as geom) SELECT array_agg(geom) into pols FROM collection;
|
||||
FOR j in 1..array_length(pols, 1)
|
||||
LOOP
|
||||
pol := pols[j];
|
||||
|
Loading…
Reference in New Issue
Block a user