notebook_task: Notebook Task

View source: R/data-structures.R

notebook_taskR Documentation

Notebook Task

Description

Notebook Task

Usage

notebook_task(notebook_path, base_parameters = list())

Arguments

notebook_path

The absolute path of the notebook to be run in the Databricks workspace. This path must begin with a slash.

base_parameters

Named list of base parameters to be used for each run of this job.

Details

If the run is initiated by a call to db_jobs_run_now() with parameters specified, the two parameters maps are merged. If the same key is specified in base_parameters and in run-now, the value from run-now is used.

Use Task parameter variables to set parameters containing information about job runs.

If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook is used.

Retrieve these parameters in a notebook using dbutils.widgets.get.

See Also

Other Task Objects: email_notifications(), libraries(), new_cluster(), pipeline_task(), python_wheel_task(), spark_jar_task(), spark_python_task(), spark_submit_task()


brickster documentation built on April 12, 2025, 1:21 a.m.