Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Union in Calcuation View

$
0
0


Hi,

 

Union in Calcuation view returns all rows from all nodes.

 

Is there anyway you can collapse the data created in Union, another word, can I make union that joins the data using keys?

 

I've included a simple example where I unioned two tables.

 

TBL 1 (key, name, age)

TBL 2(key, city)

 

When I union them I get a result set that looks like

 

 

Key        Name        City                        Age

 

1              Hyun                                    20

2              Bo                                        25

1                              carrollton

2                              flowermound

 

My desired result would b

 

 

Key        Name    City                        Age

  1              Hyun    Carrollton            20

  2              Bo          Flowermound  25

 

I know I can do this in anlaytical view as join, but the real requres some aggregation nodes before union, so I need to do this in calucation view.

I'm hoping to accomplish this without using joins in Calc view.  is this possible?

 

Thanks,


Viewing all articles
Browse latest Browse all 4343

Trending Articles