Pre-Summer Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

An upstream system has been configured to pass the date for a given batch of...

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?

A.

date = spark.conf.get( " date " )

B.

input_dict = input()

date= input_dict[ " date " ]

C.

import sys

date = sys.argv[1]

D.

date = dbutils.notebooks.getParam( " date " )

E.

dbutils.widgets.text( " date " , " null " )

date = dbutils.widgets.get( " date " )

Databricks-Certified-Professional-Data-Engineer PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now Databricks-Certified-Professional-Data-Engineer pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"