Câu 20: Databricks Certified Associate Developer for Apache Spark
A Spark application has a 128 GB DataFrame A and a 1 GB DataFrame B. If a broadcast join were to be performed on these two DataFrames, which of the following describes which DataFrame should be broadcasted and why?
Nội dung câu hỏi
A Spark application has a 128 GB DataFrame A and a 1 GB DataFrame B. If a broadcast join were to be performed on these two DataFrames, which of the following describes which DataFrame should be broadcasted and why?
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. Either DataFrame can be broadcasted. Their results will be identical in result and efficiency.
- B. DataFrame B should be broadcasted because it is smaller and will eliminate the need for the shuffling of itself.
- C. DataFrame A should be broadcasted because it is larger and will eliminate the need for the shuffling of DataFrame B.
- D. DataFrame B should be broadcasted because it is smaller and will eliminate the need for the shuffling of DataFrame A. — đáp án hiện tại
- E. DataFrame A should be broadcasted because it is smaller and will eliminate the need for the shuffling of itself.
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.