CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 23: Google Cloud Professional Data Engineer

You are building new real-time data warehouse for your company and will use Google BigQuery streaming inserts. There is no guarantee that data will only be sent in once but you do have a unique ID for each row of data and an event timestamp. You want to ensure that duplicates are not included while interactively query…

Nội dung câu hỏi

You are building new real-time data warehouse for your company and will use Google BigQuery streaming inserts. There is no guarantee that data will only be sent in once but you do have a unique ID for each row of data and an event timestamp. You want to ensure that duplicates are not included while interactively querying data. Which query type should you use?

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.

  1. A. Include ORDER BY DESK on timestamp column and LIMIT to 1.
  2. B. Use GROUP BY on the unique ID column and timestamp column and SUM on the values.
  3. C. Use the LAG window function with PARTITION by unique ID along with WHERE LAG IS NOT NULL.
  4. D. Use the ROW_NUMBER window function with PARTITION by unique ID along with WHERE row equals 1. — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề