Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Please help - error quering Analytic view from Calc SQL Script view

$
0
0

Hello HANA community, any help with these would be greatly appreciated. Let me set up a simple example of the error I'm seeing:

 

I have an analytic view called "aView" which has a mandatory input variable called "variable". Then I have created a calculation view called "cView" that is base on SQL script. "cView" has an input variable called "variable" as well. I want to simply query "aView" in "cView". (I know this is not a realistic scenario, but I'm keeping it simple for clarity.) So I'm assuming that part of the code would look like:

 

 

var_out =

select <fields> from "_SYS_BIC"."aView" (placeholder."$$variable$$"=>:variable);

 

"cView" activates just fine, so the syntax is right. Seems simple enough, but when I try to execute "cView" and pass in the variable, I get error:

 

"SAP DBTech JDBC: [2048]: column store error:  [2048] column store error: search table error:  [34092] search on calculation model requires parameters;Required variable $$variable$$ is not set.Please check lines:"

 

Am I missing something, or is this a bug any of you are seeing?  I am on HANA revision 81.

 

Thanks for any help you can provide!

 

Regards,

Dustin


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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