Abinitio Interview Question #11 | Abinitio Optimal Design


Watch my YouTube video for explanation :


Please look into the class notes here for your references:

I have a scenario having 3 tables, 

A(country_id,c_name),  -  country

 
B(country_id,state_name,state_id),  - state


C(population,city_name,citi_id,state_id) - city

C>>>>B>>A


The outpput should contain C_name,total-population, Please design the optimal graph

Ans1.

3rd as INPUT FILE-->REFORMAT(2nd as lookup)------->Reformat(1st as lookup)--->Rollup---->Output

Ans2.

3rd as INPUT FILE-->Reformat(2nd and 1st lookup one by one)----->Rollup---->Output

Ans3.

3rd as INPUT FILE(driving port)--->
   -->Join with 2nd--->reformat(lookup 1st) --->Rollup---->Output
2nd as INPUT FILE 2     ---------->


Answer4--->

3rd as input--->Rollup---->Reformat(lookup 2 and 1st)---->Rollup---->Output

Summary: Many a times more no of components solve the problem in an optimal ways if used carefully and intelligently.



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