From f0c6cca76604c10952d45fad11d4610bf496c75b Mon Sep 17 00:00:00 2001 From: Andy Eschbacher Date: Tue, 18 Oct 2016 13:05:56 -0600 Subject: [PATCH] fix key name --- src/py/crankshaft/test/test_clustering_kmeans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/crankshaft/test/test_clustering_kmeans.py b/src/py/crankshaft/test/test_clustering_kmeans.py index 8ab300d..e130da4 100644 --- a/src/py/crankshaft/test/test_clustering_kmeans.py +++ b/src/py/crankshaft/test/test_clustering_kmeans.py @@ -27,7 +27,7 @@ class KMeansTest(unittest.TestCase): """ data = [{'xs': d['xs'], '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) clusters = cc.kmeans('subquery', 2)