LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Databricks Certified Data Engineer - Associate

Databricks Certified Data Engineer - Associate

Get started today

Ultimate access to all questions.


You have a DataFrame df with a nested column address.city. How would you extract this nested field into a top-level column named city using Spark? Provide the code snippet.

Simulated



Powered ByGPT-5