on 10-28-2020 10:14 AM
Hi everyone,
I want to write a procedure (as .hdbprocedure file) that itself calls AFL procedures (specifically PAL procedures). My code looks something like this:
PROCEDURE "randomforesttrain" ()
LANGUAGE SQLSCRIPT AS
BEGIN
/* Creating tables and stuff */
CALL _SYS_AFL.PAL_RANDOM_DECISION_TREES (PAL_RDT_DATA_TBL, #PAL_PARAMETER_TBL, PAL_RDT_MODEL_TBL, ?, ?, ?) WITH OVERVIEW;
END
But when I try to build the hdbprocedure I get the following error:
Error: com.sap.hana.di.procedure: "_SYS_AFL"."PAL_RANDOM_DECISION_TREES": the reference has to be schema-local in "PROCEDURE" "randomforesttrain" [8250002]
I am inside a HDI Container so my schema is not SYS which might be related to the problem.
Any ideas what exactly this error means and/or how I could possibly fix it?
Thanks a lot in advance!
Best Regards,
Alex
The blog post XS Advanced – how to access the predictive analysis library? covers that topic. In the blog post videos are linked explaining everything in detail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.