Câu 59: Databricks Certified Data Engineer Professional
A junior data engineer has been asked to develop a streaming data pipeline with a grouped aggregation using DataFrame df. The pipeline needs to calculate the average humidity and average temperature for each non-overlapping five-minute interval. Incremental state information should be maintained for 10 minutes for lat…
Nội dung câu hỏi
A junior data engineer has been asked to develop a streaming data pipeline with a grouped aggregation using DataFrame df. The pipeline needs to calculate the average humidity and average temperature for each non-overlapping five-minute interval. Incremental state information should be maintained for 10 minutes for late-arriving data. Streaming DataFrame df has the following schema:"device_id INT, event_time TIMESTAMP, temp FLOAT, humidity FLOAT"Code block: Choose the response that correctly fills in the blank within the code block to complete this task.
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. withWatermark("event_time", "10 minutes") — đáp án hiện tại
- B. awaitArrival("event_time", "10 minutes")
- C. await("event_time + ‘10 minutes'")
- D. slidingWindow("event_time", "10 minutes")
- E. delayWrite("event_time", "10 minutes")
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.