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

Câu 3: Databricks Certified Data Engineer Professional

An upstream system has been configured to pass the date for a given batch of data to the Databricks Jobs API as a parameter. The notebook to be scheduled will use this parameter to load data with the following code: df = spark.read.format("parquet").load(f"/mnt/source/(date)")Which code block should be used to create…

Nội dung câu hỏi

An upstream system has been configured to pass the date for a given batch of data to the Databricks Jobs API as a parameter. The notebook to be scheduled will use this parameter to load data with the following code: df = spark.read.format("parquet").load(f"/mnt/source/(date)")Which code block should be used to create the date Python variable used in the above code block?

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. date = spark.conf.get("date")
  2. B. input_dict = input()date= input_dict["date"]
  3. C. import sysdate = sys.argv[1]
  4. D. date = dbutils.notebooks.getParam("date")
  5. E. dbutils.widgets.text("date", "null")date = dbutils.widgets.get("date") — đá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ề