[ 
https://issues.apache.org/jira/browse/MADLIB-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15332292#comment-15332292
 ] 

Frank McQuillan commented on MADLIB-858:
----------------------------------------

Docs say

"The name of the schema where the final results will be stored. It is expected 
to be created before calling the function, or using NULL suggests the current 
schema will be used."

but some improvement in future to make schema an optional param might be a good 
idea.

> madlib apriori algorithm
> ------------------------
>
>                 Key: MADLIB-858
>                 URL: https://issues.apache.org/jira/browse/MADLIB-858
>             Project: Apache MADlib
>          Issue Type: Bug
>            Reporter: George
>            Assignee: Rahul Iyer
>            Priority: Critical
>              Labels: TriagePending
>
> SELECT * FROM madlib.assoc_rules( .25,
>                                   .5,
>                                   'trans_id',
>                                   'product',
>                                   'test_data',
>                                   'myschema',
>                                   TRUE
>                                 );
> I got the output as follows.
> ERROR:  plpy.Error: the output schema does not exist (plpython.c:4648)
> CONTEXT:  Traceback (most recent call last):
>   PL/Python function "assoc_rules", line 36, in <module>
>     verbose
>   PL/Python function "assoc_rules", line 110, in assoc_rules
>   PL/Python function "assoc_rules", line 20, in __assert
> PL/Python function "assoc_rules"
> ********** Error **********
> ERROR: plpy.Error: the output schema does not exist (plpython.c:4648)
> SQL state: XX000
> Context: Traceback (most recent call last):
>   PL/Python function "assoc_rules", line 36, in <module>
>     verbose
>   PL/Python function "assoc_rules", line 110, in assoc_rules
>   PL/Python function "assoc_rules", line 20, in __assert
> PL/Python function "assoc_rules"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to