You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by ok...@apache.org on 2017/08/29 20:41:52 UTC

[15/50] [abbrv] incubator-madlib git commit: Fix kmeans IC cleanup

Fix kmeans IC cleanup


Project: http://git-wip-us.apache.org/repos/asf/incubator-madlib/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-madlib/commit/492fc7e4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-madlib/tree/492fc7e4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-madlib/diff/492fc7e4

Branch: refs/heads/latest_release
Commit: 492fc7e415882b61178558612c871667df26d39b
Parents: c82c0f3
Author: Orhan Kislal <ok...@pivotal.io>
Authored: Wed Jul 12 11:02:27 2017 -0700
Committer: Orhan Kislal <ok...@pivotal.io>
Committed: Wed Jul 12 11:02:27 2017 -0700

----------------------------------------------------------------------
 src/ports/postgres/modules/kmeans/test/kmeans.sql_in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-madlib/blob/492fc7e4/src/ports/postgres/modules/kmeans/test/kmeans.sql_in
----------------------------------------------------------------------
diff --git a/src/ports/postgres/modules/kmeans/test/kmeans.sql_in b/src/ports/postgres/modules/kmeans/test/kmeans.sql_in
index 072ecb3..0c15cee 100644
--- a/src/ports/postgres/modules/kmeans/test/kmeans.sql_in
+++ b/src/ports/postgres/modules/kmeans/test/kmeans.sql_in
@@ -92,4 +92,6 @@ SELECT * FROM kmeans('kmeans_2d', 'array[x,y]', 'centroids', 'array[x,y]');
 SELECT * FROM kmeanspp('kmeans_2d', 'array[x,y]', 10);
 SELECT * FROM kmeans_random('kmeans_2d', 'arRAy [ x,y]', 10);
 
-DROP TABLE IF EXISTS centroids;
+DROP TABLE IF EXISTS km_sample CASCADE;
+DROP TABLE IF EXISTS centroids CASCADE;
+DROP TABLE IF EXISTS kmeans_2d CASCADE;