Abinitio Interview Question 5



Watch my YouTube video for explanation 




Please look into the class notes here for your references:

Following is a scenario: 
Transaction ID | Name | Transaction Amount | Address 
--- 
1 | ABC | 700 | A_1 
1 | CDE | 500 | A_2 
1 | EFG | 300 | A_3 
1 | GHI | 900 | A_4 

2| LMN | 300 | B_1 
2| OPQ | 900 | A_B2

Qa. find the maximum transaction amout of a cutomer ID
rollup

Key = Transaction ID













out::rollup(in)=
begin
out.*::in.*;
out.Transaction_Amt::max(in.Transaction_Amount);
end;


Qb. Will rollup make sure that in the o/p the value of the 
remaining fields like Name and Address will exactly 
be the same ? 

For ID = 1, will I get the Name as "GHI" and Address as
 "A_4" ? 

Fore more Abinitio, AWS and data engineering videos please subscribe , view , like and share my YouTube channel 

Click DataPundit

Comments

Popular posts from this blog

Abinitio Interview Question # 1 - Write Multiple Files in Abinitio

Next In Sequence in ABinitio | How next_in_sequence() works in MFS