Databricks Upload

Databricks Upload

Certified

Upload a file to DBFS

Streams a file from Kestra internal storage to DBFS using 1 MB chunks; suited for large files.

yaml
type: io.kestra.plugin.databricks.dbfs.Upload

Upload a file to the Databricks File System.

yaml
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

Source file URI

Internal storage URI of the file to upload (kestra:// ...)

Destination DBFS path

Absolute DBFS path such as /mnt/volume/file.parquet

Databricks account identifier

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.

Definitions
authTypestring

Authentication type

azureClientIdstring

Azure client ID

azureClientSecretstring

Azure client secret

azureTenantIdstring

Azure tenant ID

clientIdstring

Client ID

clientSecretstring

Client secret

googleCredentialsstring

Google credentials JSON

googleServiceAccountstring

Google service account email

passwordstring

Password

tokenstring

Databricks personal access token

usernamestring

Username

Databricks configuration file, use this if you don't want to configure each Databricks account properties one by one

Databricks host

Reference (ref) of the pluginDefaults to apply to this task.

The file size