Câu 51: Databricks Certified Associate Developer for Apache Spark
Which of the following pairs of arguments cannot be used in DataFrame.join() to perform an inner join on two DataFrames, named and aliased with "a" and "b" respectively, to specify two key columns?
Nội dung câu hỏi
Which of the following pairs of arguments cannot be used in DataFrame.join() to perform an inner join on two DataFrames, named and aliased with "a" and "b" respectively, to specify two key columns?
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. on = [a.column1 == b.column1, a.column2 == b.column2]
- B. on = [col("column1"), col("column2")] — đáp án hiện tại
- C. on = [col("a.column1") == col("b.column1"), col("a.column2") == col("b.column2")]
- D. All of these options can be used to perform an inner join with two key columns.
- E. on = ["column1", "column2"]
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.