From e4c86d71ba7e9b53c1a107443127503feab7cbb2 Mon Sep 17 00:00:00 2001 From: vdelacruzb Date: Wed, 3 Apr 2024 19:09:20 +0200 Subject: [PATCH] update doc --- clouds/bigquery/modules/doc/clustering/ST_CLUSTERKMEANS.md | 4 ++++ clouds/redshift/modules/doc/clustering/ST_CLUSTERKMEANS.md | 4 ++++ clouds/snowflake/modules/doc/clustering/ST_CLUSTERKMEANS.md | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/clouds/bigquery/modules/doc/clustering/ST_CLUSTERKMEANS.md b/clouds/bigquery/modules/doc/clustering/ST_CLUSTERKMEANS.md index 5b3d6cd75..793582540 100644 --- a/clouds/bigquery/modules/doc/clustering/ST_CLUSTERKMEANS.md +++ b/clouds/bigquery/modules/doc/clustering/ST_CLUSTERKMEANS.md @@ -11,6 +11,10 @@ Takes a set of points as input and partitions them into clusters using the k-mea * `geog`: `ARRAY` points to be clustered. * `numberOfClusters`: `INT64`|`NULL` numberOfClusters that will be generated. If `NULL` the default value `Math.sqrt(/2)` is used. +````hint:info +The resulting geometries are unique. So duplicated points will be removed from the input array +```` + **Return type** `ARRAY>` diff --git a/clouds/redshift/modules/doc/clustering/ST_CLUSTERKMEANS.md b/clouds/redshift/modules/doc/clustering/ST_CLUSTERKMEANS.md index a4deaabb2..16e703a94 100644 --- a/clouds/redshift/modules/doc/clustering/ST_CLUSTERKMEANS.md +++ b/clouds/redshift/modules/doc/clustering/ST_CLUSTERKMEANS.md @@ -11,6 +11,10 @@ Takes a set of points as input and partitions them into clusters using the k-mea * `geog`: `GEOMETRY` points to be clustered. * `numberOfClusters` (optional): `INT` number of clusters that will be generated. It defaults to the square root of half the number of points (`sqrt(/2)`). +````hint:info +The resulting geometries are unique. So duplicated points will be removed from the input multipoint +```` + **Return type** `SUPER`: containing objects with `cluster` as the cluster id and `geom` as the geometry in GeoJSON format. diff --git a/clouds/snowflake/modules/doc/clustering/ST_CLUSTERKMEANS.md b/clouds/snowflake/modules/doc/clustering/ST_CLUSTERKMEANS.md index 7df42d4b5..46e9e4b4b 100644 --- a/clouds/snowflake/modules/doc/clustering/ST_CLUSTERKMEANS.md +++ b/clouds/snowflake/modules/doc/clustering/ST_CLUSTERKMEANS.md @@ -11,6 +11,10 @@ Takes a set of points as input and partitions them into clusters using the k-mea * `geojsons`: `ARRAY` points to be clustered. * `numberOfClusters` (optional): `INT` numberOfClusters that will be generated. By default `numberOfClusters` is `Math.sqrt(/2)`. +````hint:info +The resulting geometries are unique. So duplicated points will be removed from the input array +```` + **Return type** `ARRAY`: containing objects with `cluster`, as the cluster id, and `geom`, as the geometry geojson.