PrepAway - Latest Free Exam Questions & Answers

how can you determine when a new row is the first of a new group of Product rows?

Rows of data going into a Transformer stage are sorted and hash partitioned by the Input.Product
column. Using stage variables, how can you determine when a new row is the first of a new group
of Product rows?

PrepAway - Latest Free Exam Questions & Answers

A.
Create a stage variable named sv_IsNewProduct and follow it by a second stage variable
named sv_Product. Map the Input.Product column to
sv_Product. The derivation for sv_IsNewProduct is: IF Input.Product = sv_Product THEN “YES”
ELSE “NO”.

B.
Create a stage variable named sv_IsNewProduct and follow it by a second stage variable
named sv_Product. Map the Input.Product column to
sv_Product. The derivation for sv_IsNewProduct is: IF Input.Product <> sv_Product THEN “YES”
ELSE “NO”.

C.
Create a stage variable named sv_Product and follow it by a second stage variable named
sv_IsNewProduct. Map the Input.Product column to
sv_Product. The derivation for sv_IsNewProduct is: IF Input.Product = sv_Product THEN “YES”
ELSE “NO”.

D.
Create a stage variable named sv_Product and follow it by a second stage variable named
sv_IsNewProduct. Map the Input.Product column to
sv_Product. The derivation for sv_IsNewProduct is: IF Input.Product <> sv_Product THEN “YES”
ELSE “NO”.

Explanation:


Leave a Reply