Tell me about your experience with Python, Pandas, PySpark, and Databricks, and how you use basic Linux commands when building data pipelines.
For the hands-on portion, implement the pipeline transformation below using data structures. Given event records, retain the latest record for each event_id, then aggregate the remaining records by dataset.
summarize_pipeline_events(records) accepts a list of dictionaries with event_id, dataset, timestamp, status, and duration_seconds. Return dataset summaries sorted by dataset, each containing dataset, successful, failed, and total_duration.
def summarize_pipeline_events(records):