SubmitRun
Submit a Databricks run. Optionally, set waitForCompletion
to a desired maximum duration to wait for the run completion.
type: "io.kestra.plugin.databricks.job.SubmitRun"
Submit a Databricks run and wait up to 5 minutes for its completion.
id: databricks_job_submit_run
namespace: company.team
tasks:
- id: submit_run
type: io.kestra.plugin.databricks.job.SubmitRun
authentication:
token: <your-token>
host: <your-host>
runTasks:
- existingClusterId: <your-cluster>
taskKey: taskKey
sparkPythonTask:
pythonFile: /Shared/hello.py
sparkPythonTaskSource: WORKSPACE
waitForCompletion: PT5M
YES
Databricks account identifier.
YES
Databricks authentication configuration.
This property allows to configure the authentication to Databricks, different properties should be set depending on the type of authentication and the cloud provider. All configuration options can also be set using the standard Databricks environment variables. Check the Databricks authentication guide for more information.
YES
Databricks configuration file, use this if you don't want to configure each Databricks account properties one by one.
YES
Databricks host.
YES
The name of the run.
YES
duration
If set, the task will wait for the run completion.
The run identifier.
uri
The run URI on the Databricks console.
YES
Map of task base parameters.
Can be a map of string/string or a variable that binds to a JSON object.
YES
YES
GIT
WORKSPACE
YES
YES
Map of task named parameters.
Can be a map of string/string or a variable that binds to a JSON object.
YES
YES
List of task parameters.
Can be a list of strings or a variable that binds to a JSON array of strings.
YES
YES
YES
List of task parameters.
Can be a list of strings or a variable that binds to a JSON array of strings.
NO
Task dependencies, set this if multiple tasks are defined on the run.
YES
NO
Notebook task settings.
NO
Pipeline task settings.
NO
Python Wheel task settings.
NO
Run job task settings.
NO
Spark JAR task settings.
NO
Spark Python task settings.
NO
Spark Submit task settings.
YES
NO
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
GIT
WORKSPACE
YES
List of task parameters.
Can be a list of strings or a variable that binds to a JSON array of strings.
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
List of task parameters.
Can be a list of strings or a variable that binds to a JSON array of strings.
YES
YES
YES