[
https://issues.apache.org/jira/browse/MADLIB-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15493371#comment-15493371
]
Rahul Iyer commented on MADLIB-1016:
------------------------------------
Hi medart,
Have you installed MADlib in the public schema? It's customary to install it on
a specific schema (like {{madlib}}) so that it does not override other system
functions.
The platform provides a {{version()}} function which gives a different output
from what you've got. Similarly the platform also has an {{array_agg}} function
that has been overridden by the {{madlib.array_agg}} in your case. That could
possibly be the issue, since {{madlib.array_agg}} has been deprecated.
Could you try reinstalling MADlib on a new database with a schema name (default
is {{madlib}}) and try your functions again?
> k-mean & decision Tree don't work because of array_agg in order by clause
> -------------------------------------------------------------------------
>
> Key: MADLIB-1016
> URL: https://issues.apache.org/jira/browse/MADLIB-1016
> Project: Apache MADlib
> Issue Type: Bug
> Components: Module: Array Ops
> Reporter: medart
>
> When we try to use k-mean function or decision tree the same error appear.
> ERROR: plpy.SPIError: ORDER BY specified, but array_agg is not an ordered
> aggregate function (plpython.c:4648)
> For information we use Madlib 1.9.1 with Pivotal Greenplum, and we use the
> example data as shown in the official documentatio.
> The regression work great nad we didint try all the algorithme yet, to see if
> the problem apprear in the other methods.
> Thank you for your help
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)