🔥 3-day streak
Databricks Certified Data Engineer Associate30 / 150
Question 30 of 150
A data engineer has a Silver table 'order_items' with one row per line item, containing columns 'order_id', 'product_name', and 'quantity'. For a reporting requirement, they must produce a Gold table with exactly one row per 'order_id' where a new column 'products' holds an array of all 'product_name' values for that order. Which Spark SQL approach produces the correct result?
Reviewed for accuracy · Report an issueNext question