Opened 9 years ago

Last modified 9 years ago

#3479 closed defect

ST_ClusterKMeans hangs with one row — at Version 1

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.3.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by robe)

My postgres server just hangs. Simpler

DROP TABLE IF EXISTS parcels;
CREATE TABLE parcels AS 
SELECT 1 AS parcel_id, 
    ST_MakeEnvelope(0,0,200,200) As geom;


-- now try to do a ST_ClusterKMeans
SELECT ST_ClusterKMeans(geom,3) over () AS cid, geom
FROM parcels;


My server just hangs not sure what it's doing. I had to kill all my postgres processes.

Change History (1)

comment:1 by robe, 9 years ago

Description: modified (diff)
Summary: ST_ClusterKMeans hangsST_ClusterKMeans hangs with one row
Note: See TracTickets for help on using tickets.