
Databricks Upload
CertifiedUpload a file to DBFS
Databricks Upload
Upload a file to DBFS
Streams a file from Kestra internal storage to DBFS using 1 MB chunks; suited for large files.
type: io.kestra.plugin.databricks.dbfs.UploadExamples
Upload a file to the Databricks File System.
id: databricks_dbfs_upload
namespace: company.team
inputs:
- id: file
type: FILE
description: File to be uploaded to DBFS
tasks:
- id: upload_file
type: io.kestra.plugin.databricks.dbfs.Upload
authentication:
token: "{{ secret('DATABRICKS_TOKEN') }}"
host: "{{ secret('DATABRICKS_HOST') }}"
from: "{{ inputs.file }}"
to: /Share/myFile.parquet
Properties
from *Requiredstring
Source file URI
Internal storage URI of the file to upload (kestra:// ...)
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
to *Requiredstring
Destination DBFS path
Absolute DBFS path such as /mnt/volume/file.parquet
accountId string
Databricks account identifier
authentication
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.
io.kestra.plugin.databricks.AbstractTask-AuthenticationConfig
Authentication type
Azure client ID
Azure client secret
Azure tenant ID
Client ID
Client secret
Google credentials JSON
Google service account email
Password
Databricks personal access token
Username
configFile string
Databricks configuration file, use this if you don't want to configure each Databricks account properties one by one
host string
Databricks host
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Metrics
file.size counter
The file size