orhankislal removed a comment on issue #441: Kmeans: simplified silhouette per point for k-means URL: https://github.com/apache/madlib/pull/441#issuecomment-531962418 Regarding point 3: Unfortunately, gpdb has a limitation: a function cannot execute on segment if it accesses a relation. Here is a bit more detail: https://community.pivotal.io/s/article/Function-cannot-Execute-on-the-Segment-Node-in-Pivotal-Greenplum We can try to work around it but it would involve some significant refactoring. The issue is trying to read from two tables in different ways (source table comes as a string & centroids table comes from `from` clause). Alternatively, you can create a view with a single row (using select * from <table> where k = <target_k>) and use it as input.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
