adds parallel marker for plpgsql function

This commit is contained in:
Andy Eschbacher 2018-01-10 10:57:51 -05:00
parent 068f43de10
commit e5285a2700

View File

@ -44,7 +44,7 @@ kmeans = Kmeans()
return kmeans.nonspatial(query, colnames, no_clusters,
standardize=standardize,
id_col=id_col)
$$ LANGUAGE plpythonu;
$$ LANGUAGE plpythonu VOLATILE PARALLEL UNSAFE;
CREATE OR REPLACE FUNCTION CDB_WeightedMeanS(