Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Execution of calculation view run two SQL queries  in the back-end....

$
0
0

Hi Lars,

 

you are correct. But here I have added a parameter with the below code in the filter expression.

((match("OWNER" ,'$$OWN$$') or in("OWNER" ,'$$OWN$$' ))

 

  1. And it is working fine when I pass the Input value * (ALL DATA)
  2. BUT just after ALL DATA result, when I refresh the DATA preview with refresh button and passes the input XYZ1 then again it shows all data(NOT correct and not filtered )
  3. But when I again refresh the preview and passes some other input XYZ2. It shows perfect data for XYZ2.
  4. Now whenever I refresh and pass some value data is correct .(Filtered data)
  5. But again whenever I refresh the preview with input *(STAR / ALL DATA) then it shows me perfect data(ALL data without any filter)
  6. Now again on refresh If I pass some input XYZ3 . DATA preview is for all data(Not filtered and not correct )

SO, Conclusion is, after ALL data preview (*) , filter does not work .But once the filter is applied further it works fine until and unless we refresh it for all data.

 

Now why  is it behaving like this?

  • In the show log I found, it execute two query every time.
  • One with old input and one with new input.
  • But for point:2  query sequence is First with NEW INPUT then with OLD INPUT.
  • AND for point:4 query sequence is First for OLD INPUT then with NEW INPUT.

 

I think some buffering issue is der with the call of view


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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