Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

“GROUP CLUSTER BY” in HANA Spatial

$
0
0

Hi experts,

 

I perform the following SQL:

 

SELECT

ST_ClusterId() AS cluster_id,

ST_ClusterCentroid() AS centroid,

COUNT(*) AS number_of_households,

AVG(INCOME) AS average_cluster_income

FROM HOUSEHOLDS

WHERE INCOME > 120000

GROUP CLUSTER BY LOCATION USING KMEANS CLUSTERS 100

HAVING COUNT(*) >= 300;

 

 

The system display error. The HANA release is SPS09.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>