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

error Inconsistent calculation model (34011) with stored procedure using attrib view

$
0
0

Dear all,

I have a very simply stored procedure, which uses an Att View called AT_RDR.

 

I tried to use the CE_JOIN_VIEW as follows, which i thought should work, and I understand from the CE function documentation, should work (CE_JOIN_VIEW("join_view_name", ["attrib_name",...])

 

ssrd = ce_join_view("TOYOTA"."toyota.ssrdpoc.model::AT_RDR", ["MATNR"]);

 

but, after performing a check I get the following error

 

column store error: [34011] failed to save calculation scenario : The following errors occured: Inconsistent calculation model (34011)

Details (Errors): - CalculationNode ($$SSRD$$): ColumnView TOYOTA:toyota.ssrdpoc.model::AT_RDR not found (cannot get catalog object).

 

 

Below, if I did it like either of the lines below, they check ok, and work

 

  • ssrd = ce_join_view("_SYS_BIC"."toyota.ssrdpoc.model/AT_RDR", ["MATNR"]);
  • ssrd = select "MATNR" from "TOYOTA"."toyota.ssrdpoc.model::AT_RDR";

 

However, I read it is best to use a View, in case the underlying table changes, so that rules out the second of the two above.

 

With the first of the two above, I use the explicit _SYS_BIC schema table name, which I have not read anywhere to use this.

 

So to my eventual question, should I use the explicit reference to the _SYS_BIC schema, or am I doing something wrong.

 

thanks in advanced

g


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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