Hi all,
I am trying to replicate HANA Recommends Project ie created by Julie Blaufuss
for that I have to create procedure-----
CREATE PROCEDURE PAL_APRIORI(IN data AP_T_DATA, IN params AP_T_PARAMS, OUT rules AP_T_RULES) LANGUAGELLANGAS
BEGIN
export
Void main(Table<Int32 "ORDERID", Int32 "PRODUCTID"> "data" dataTab,
Table<String "Name", Int32 "intArgs", Double"doubleArgs", String "stringArgs"> "params" paramsTab,
Table<String "PRERULE", String "POSTRULE", Double"SUPPORT", Double"CONFIDENCE", Double"LIFT"> "rules"& rulesTab)
{
pal::aprioriRule(dataTab, paramsTab, rulesTab)
;
}
END;
but I am getting this error....
Could not execute 'CREATE PROCEDURE PAL_APRIORI(IN data AP_T_DATA, IN params AP_T_PARAMS, OUT rules AP_T_RULES) ...' in 533 ms 984 µs .
SAP DBTech JDBC: [2048]: column store error: [34011] failed to save calculation scenario : The following errors occured: Inconsistent calculation model (34011)
Details (Errors):
- CalculationNode ($$RULES$$) -> operation (CustomLOp): Compilation failed:
line 6: Error: Function call 'pal::aprioriRule(Table<Int32 "ORDERID",Int32 "PRODUCTID">, Table<String "Name",Int32 "intArgs",Double "doubleArgs",String "stringArgs">, Table<String "PRERULE",String "POSTRULE",Double "SUPPORT",Double "CONFIDENCE",Double "LIFT">)' does not match function 'Void pal::aprioriRule(Table<...>&, Table<...>&, Table<...>&, Table<...>&)'
line 6: pal::aprioriRule(dataTab, paramsTab, rulesTab);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
can any one please help me out....
Regrads
Divya
.