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

Issue with Calc View

$
0
0

vizplan.PNG

Hi All,

 

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

 

Hope i'm clear

 

Thanks in advance


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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