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

Câu 11: Databricks Certified Associate Developer for Apache Spark

The code block shown below contains an error. The code block is intended to return a new DataFrame that is the result of a cross join between DataFrame storesDF and DataFrame employeesDF. Identify the error. Code block:storesDF.join(employeesDF, "cross")

Nội dung câu hỏi

The code block shown below contains an error. The code block is intended to return a new DataFrame that is the result of a cross join between DataFrame storesDF and DataFrame employeesDF. Identify the error. Code block:storesDF.join(employeesDF, "cross")

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. A cross join is not implemented by the DataFrame.join() operations – the standalone CrossJoin() operation should be used instead.
  2. B. There is no direct cross join in Spark, but it can be implemented by performing an outer join on all columns of both DataFrames.
  3. C. A cross join is not implemented by the DataFrame.join()operation – the DataFrame.crossJoin()operation should be used instead. — đáp án hiện tại
  4. D. There is no key column specified – the key column "storeId" should be the second argument.
  5. E. A cross join is not implemented by the DataFrame.join() operations – the standalone join() operation should be used instead.

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ề