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

Issue with Calc View

$
0
0

Hi All,

 

The orginal post is in.. I guess im posted in wrong forum

Issue with Calc View

 

Its a calc View with DataCategory as Dimension so i believe it won't have an aggregration below semantics ..Its a projection below semantics

 

 

I'm creating a simple calculation view with 2 atrribute view with att view contains only 1 table

 

For Ex : Att View 1  has 1200250 and Att View has 1463179

 

I inner join join both the Views 1 and View 2  with cardinality left blank

table1.a inner join table2.a

  table1.mandt inner join table2.mandt

 

and then i use projection node and then its linked to semantics ..All out fields are just attibutes

 

I believe the out put should be 1463179  but its 1262123

 

I tried doing

 

select count(*) on sys_bic..... it gives 1262123

 

 

When i look at Viz Plan as you above

 

The result has the total number of records from att2 1463179 but the final step which takes from result to count(*) has 1262123..

 

Question1)Why is the no of records are less from result to count(*)

 

Question2)I believe the projection node won't do any group by right but when i do a data preview from cal view and look at log it says

 

select a,b,c from sys.bic.calcview group by a,b,c

 

Why would it do that ?

 

 

Question3) Also i checked something like

 

select count(*) from table1 join table2 ON table1.a = table2.a and

                                                            table1.mandt =table2.mandt

 

This is giving me 1463179

 

The info is from single client ..

 

Thanks in advance

 

I would appreciate if some one explain me this..

 

Thanks


Viewing all articles
Browse latest Browse all 8968


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