Github user orhankislal commented on the issue:

    https://github.com/apache/incubator-madlib/pull/157
  
    Tested on GPDB 4.3.12. kmeans IC fails with the following error:
    ```
    SELECT * FROM kmeanspp('kmeans_2d', 'position', 10);
    psql:/tmp/madlib.tPVzko/kmeans/test/kmeans.sql_in.tmp:116: ERROR:  cannot 
change the value of "optimiz
    er"
    CONTEXT:  SQL statement " SET optimizer=off "
    PL/pgSQL function "kmeanspp_seeding" line 20 at execute statement
    SQL statement "SELECT  madlib.kmeans(  $1 ,  $2 , madlib.kmeanspp_seeding( 
$1 ,  $2 ,  $3 ,  $4 , NULL
    ,  $5 ),  $4 ,  $6 ,  $7 ,  $8 )"
    PL/pgSQL function "kmeanspp" line 4 at assignment
    SQL statement "SELECT  madlib.kmeanspp( $1 ,  $2 ,  $3 , 
'madlib.squared_dist_norm2'::VARCHAR, 'madlib
    .avg'::VARCHAR, 20::INTEGER, 0.001::DOUBLE PRECISION, 1.0::DOUBLE 
PRECISION)"
    PL/pgSQL function "kmeanspp" line 4 at assignment
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to