New to Kestra?
Use blueprints to kickstart your first workflows.
Pull a Parquet file from Databricks File System (DBFS) into Kestra internal storage and process it with a Python Pandas script running in Docker.
id: download-parquet-from-databricks
namespace: company.team
description: >
This flow will download a Parquet file from Databricks File System (DBFS) to
Kestra's internal storage.
tasks:
- id: download
type: io.kestra.plugin.databricks.dbfs.Download
authentication:
token: "{{ secret('DATABRICKS_TOKEN') }}"
host: "{{ secret('DATABRICKS_HOST') }}"
from: /Shared/myFile.parquet
- id: process_downloaded_file
type: io.kestra.plugin.scripts.python.Script
taskRunner:
type: io.kestra.plugin.scripts.runner.docker.Docker
dependencies:
- pandas
script: |
import pandas as pd
df = pd.read_parquet("{{ outputs.download.uri }}")
df.head()
Pull a Parquet file out of the Databricks File System (DBFS) and into Kestra so you can validate, profile, or transform it without staying locked inside the Databricks workspace. This blueprint downloads a Databricks-generated dataset into Kestra internal storage and immediately loads it into a Python Pandas script, giving you a portable, reusable pattern for moving Databricks data into the rest of your pipeline.
download task uses io.kestra.plugin.databricks.dbfs.Download to fetch a Parquet file from a DBFS path (from: /Shared/myFile.parquet), authenticating with a token and host. The downloaded file lands in Kestra internal storage and exposes its location through outputs.download.uri.process_downloaded_file task is an io.kestra.plugin.scripts.python.Script that runs on the io.kestra.plugin.scripts.runner.docker.Docker task runner with pandas declared as a dependency. It reads the file with pd.read_parquet("{{ outputs.download.uri }}") and calls df.head() to inspect the dataset.outputs.download.uri that any downstream task can consume.Databricks jobs schedule work inside the Databricks workspace, but they do not easily reach across your wider stack. With Kestra you express the whole flow as declarative YAML, add event or schedule triggers, attach retries to the download, and capture execution lineage and outputs so each run is auditable. The Parquet file becomes a first-class artifact in Kestra internal storage that downstream tasks, in any language or tool, can pick up, something the Databricks scheduler alone cannot coordinate.
DATABRICKS_TOKEN: a Databricks personal access token used for authentication.DATABRICKS_HOST: the Databricks workspace host URL.DATABRICKS_TOKEN and DATABRICKS_HOST secrets to your Kestra instance.from path to point at your own DBFS Parquet file.df.head() preview.df.head() with real transformations, aggregations, or quality assertions.