The explode() function in Spark SQL takes an array (or map) column and returns a new row for each element in the given array, effectively expanding a single row with an array of 5 items into 5 distinct rows.
Get started today
Ultimate access to all questions.
Which function turns a single row containing an ARRAY of 5 items into 5 separate rows?
Real Exam
Community
AAkshat
Last updated: June 6, 2026 at 08:52
0
A
split()
9.5%
B
flatten()
14.3%
C
explode()
71.4%
D
slice()
4.8%
Powered ByGPT 5.6 Luna powered
70. Which function turns a single row containing an ARRAY of 5 items into 5 separate rows? | Databricks Certified Data Engineer - Associate Quiz - LeetQuiz