Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Errors in getting the PAL calling code into a calculated view

$
0
0

Hi All, I am new to Sap hana PAL and am using PAL through apriori algorithm. I am getting the necessary results in the sql console, but was not getting the same from driver. Now, I am trying to implement the same in calculation views. Following is the work done in the view:


 /********* Begin Procedure Script ************/ 

 BEGIN 

     TRUNCATE TABLE PAL_SUMIT_TEST.CAMPAIGN_DOMAIN_RESULTS;

     TRUNCATE TABLE PAL_SUMIT_TEST.PMML;

 

     CALL SYSAFL.CAMPAIGN_DOMAINS( "PAL_SUMIT_TEST"."CAMPAIGN_DOMAIN_VIEW", PARAMS, PAL_SUMIT_TEST.CAMPAIGN_DOMAIN_RESULTS, PMML) WITH OVERVIEW;

      var_out = select * from PAL_SUMIT_TEST.CAMPAIGN_DOMAIN_RESULTS; 

END /********* End Procedure Script ************/hji


Here, the CAMPAIGN_DOMAINS call applies apriori algorithm & outputs the results to campaign_domain_results table. This is working fine in SQL editor, but when I put this in calculation view, there is an error on validation.

I've also specified the out parameters which are also present as attributes:

"PRERULE" VARCHAR(500),
"POSTRULE" VARCHAR(500),
"SUPPORT" DOUBLE,
"CONFIDENCE" DOUBLE,
"LIFT" DOUBLE


The error in job log file is:

        1. Validation of fingerprint.TEST_PAL
            1. com.sap.ndb.studio.sdk.resource.base.exception.ResourceException: java.io.IOException: Error loading object, refer to Repository Log for more information: java.io.IOException: com.sap.ndb.studio.sdk.resource.base.exception.ResourceException: java.io.IOException: Error loading object, refer to Repository Log for more information

      Kindly help me out if you have been stuck with something similar.


      Viewing all articles
      Browse latest Browse all 6412

      Trending Articles



      <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>