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

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

The code block shown below contains an error. The code block intended to read a parquet at the file path filePath into a DataFrame. Identify the error. Code block:spark.read.load(filePath, source – "parquet")

Nội dung câu hỏi

The code block shown below contains an error. The code block intended to read a parquet at the file path filePath into a DataFrame. Identify the error. Code block:spark.read.load(filePath, source – "parquet")

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. There is no source parameter to the load() operation – the schema parameter should be used instead.
  2. B. There is no load() operation – it should be parquet() instead.
  3. C. The spark.read operation should be followed by parentheses to return a DataFrameReader object.
  4. D. The filePath argument to the load() operation should be quoted.
  5. E. There is no source parameter to the load() operation – it can be removed. — đá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ề