DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE Web TestEngine demo

Exit VCEDump DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE Databricks Certified Data Engineer Associate
Question 27 of 44
0% complete
Q27 Single choice

A data engineer has a PySpark DataFrame events_df which contains a nested device struct, which itself includes a nested location struct, as shown:

Question 27 diagram

The goal is to flatten the nested fields into root-level columns while keeping the event identifiers and timestamp.

Which PySpark expression achieves this?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in