cancel
Showing results for 
Search instead for 
Did you mean: 

Join Delta Table with Same Full Table

10-15-2026 2:58 PM
hleboeuf Explorer
187 views 1 comments
0 Likes
Subscribe

Hello,

Here is a theoretical Sample Table

KeyTypeWhatever
XT1123
YT2456
ZT3789

Now there is a change on Key-X and Key-Z, they both become Type-T4

In a transformation flow that works on Delta I'm joining the Delta to the Full Table

The Delta Table would be

KeyTypeWhatever
XT4123
ZT4789

Now what will be the join result if I do a join on Delta-Type and Full-Type?

Will the engine know NOT to take the records from the Delta in the join, knowing there is a changed version coming along or will it be so smart to join X-Z ?

Becasue based on the original Full table there would be no match for each single record...

I hope I made myself clear 🙂

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Martin_Kuma
Active Contributor
0 Likes

Hi,

HANA Engine, no matter if SQL, Analytics or Calculation will not know and when you join, you have to decide from which table you take the fields Type and Whatever.... 

But... Why Join? I use Union. First select all from Delta and union the results with Select all from Full, where key does not-exist-in-Delta. 

In case your measure: whatever is a stock measure, then you union with Full without the not-exist-in-Delta. 

But that is all. If I did not miss some critical detail from your description, then this is a standard scenario. 

Cheers, Martin