CERTIFIED-DATA-ANALYST-ASSOCIATE · Question #5
A data engineer is working with a nested array column products in table transactions. They want to expand the table so each unique item in products for each row has its own row where the transaction_i
Sign in or unlock CERTIFIED-DATA-ANALYST-ASSOCIATE to reveal the answer and full explanation for question #5. The question stem and answer options stay visible for context.
Question
A data engineer is working with a nested array column products in table transactions. They want to expand the table so each unique item in products for each row has its own row where the transaction_id column is duplicated as necessary. They are using the following incomplete command:
Which of the following line of code can they use to fill in the blank in the above code block so that it successfully completes the task?
Options
- Aarray distinct(produces)
- Bexplode(produces)
- Creduce(produces)
- Darray(produces)
- Eflatten(produces)
Unlock CERTIFIED-DATA-ANALYST-ASSOCIATE to see the answer
You've previewed enough free CERTIFIED-DATA-ANALYST-ASSOCIATE questions. Unlock CERTIFIED-DATA-ANALYST-ASSOCIATE for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.