fix key name

This commit is contained in:
Andy Eschbacher 2016-10-18 13:05:56 -06:00
parent f800a35fd1
commit f0c6cca766

View File

@ -27,7 +27,7 @@ class KMeansTest(unittest.TestCase):
""" """
data = [{'xs': d['xs'], data = [{'xs': d['xs'],
'ys': d['ys'], 'ys': d['ys'],
'id': d['id']} for d in self.cluster_data] 'ids': d['ids']} for d in self.cluster_data]
plpy._define_result('select', data) plpy._define_result('select', data)
clusters = cc.kmeans('subquery', 2) clusters = cc.kmeans('subquery', 2)