Logo von Databricks Pipelines

Databricks Pipelines

Organisation
databricks
databricks-pipelines

Develop Lakeflow Spark Declarative Pipelines (formerly Delta Live Tables) on Databricks. Use when building batch or streaming data pipelines with Python or SQL, including Auto CDC from event streams or periodic complete snapshots. Invoke BEFORE starting implementation.

Add to TypingMind

Übersicht

Herausgeberdatabricks
Repositorydatabricks-agent-skills
Skill-Namedatabricks-pipelines
Sterne
366
Forks
93
Mitgelieferte Dateien
36
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 36

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von databricks auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Databricks Pipelines in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/databricks/databricks-agent-skills/tree/main/plugins/databricks/claude/skills/databricks-pipelines
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/databricks/databricks-agent-skills.git /tmp/databricks-agent-skills
mkdir -p .claude/skills
cp -r /tmp/databricks-agent-skills/plugins/databricks/claude/skills/databricks-pipelines .claude/skills/databricks-pipelines
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Databricks Pipelines in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Databricks Pipelines automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Databricks Pipelines nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Lakeflow Spark Declarative Pipelines Development

FIRST: Use the parent databricks-core skill for CLI basics, authentication, profile selection, and data discovery commands.

Decision Tree

Use this tree to determine which dataset type and features to use. Multiple features can apply to the same dataset — e.g., a Streaming Table can use Auto Loader for ingestion, Append Flows for fan-in, and Expectations for data quality. Choose the dataset type first, then layer on applicable features.

User request → What kind of output?
├── Intermediate/reusable logic (not persisted) → Temporary View
│   ├── Preprocessing/filtering before Auto CDC → Temporary View feeding CDC flow
│   ├── Shared intermediate streaming logic reused by multiple downstream tables
│   ├── Pipeline-private helper logic (not published to catalog)
│   └── Published to UC for external queries → Persistent View (SQL only)
├── Persisted dataset
│   ├── Source is a periodic complete snapshot that must be diffed by key → Streaming Table + Auto CDC FROM SNAPSHOT (SQL requires DBR 18.3+)
│   ├── Source is streaming/incremental/continuously growing → Streaming Table
│   │   ├── File ingestion (cloud storage, Volumes) → Auto Loader
│   │   ├── Message bus (Kafka, Kinesis, Pub/Sub, Pulsar, Event Hubs) → streaming source read
│   │   ├── Existing streaming/Delta table → streaming read from table
│   │   ├── CDC / upserts / track changes / keep latest per key / SCD Type 1 or 2 → Auto CDC
│   │   ├── Multiple sources into one table → Append Flows (NOT union)
│   │   ├── Historical backfill + live stream → one-time Append Flow + regular flow
│   │   └── Windowed aggregation with watermark → stateful streaming
│   └── Source is batch/historical/full scan → Materialized View
│       ├── Aggregation/join across full dataset (GROUP BY, SUM, COUNT, etc.)
│       ├── Gold layer aggregation from streaming table → MV with batch read (spark.read / no STREAM)
│       ├── JDBC/Federation/external batch sources
│       └── Small static file load (reference data, no streaming read)
├── Output to external system (Python only) → Sink
│   ├── Existing external table not managed by this pipeline → Sink with format="delta"
│   │   (prefer fully-qualified dataset names if the pipeline should own the table — see Publishing Modes)
│   ├── Kafka / Event Hubs → Sink with format="kafka" + @dp.append_flow(target="sink_name")
│   ├── Custom destination not natively supported → Sink with custom format
│   ├── Custom merge/upsert logic per batch → ForEachBatch Sink (Public Preview)
│   └── Multiple destinations per batch → ForEachBatch Sink (Public Preview)
└── Data quality constraints → Expectations (on any dataset type)

Common Traps

  • Names → SDP = LDP = Lakeflow Declarative Pipelines = (formerly) DLT. All interchangeable when the user mentions them.
  • "Create a table" without specifying type → ask whether the source is streaming or batch. Streaming source → Streaming Table; batch source → Materialized View. Mismatched pairs error at validation.
  • Aggregation over a streaming source → use a Materialized View with a batch read (spark.read.table / SELECT FROM without STREAM). STs are append-only and don't recompute aggregates when source rows change; MVs do.
  • Intermediate logic → default to a Temporary View. Even for shared logic reused by multiple downstream tables. Use a Private MV/ST (private=True / CREATE PRIVATE ...) only when materializing once saves significant reprocessing. For preprocessing before Auto CDC, the temp view is required — the CDC flow reads from STREAM(view_name) (SQL) or spark.readStream.table("view_name") (Python).
  • Union of streams → use multiple Append Flows. UNION across streaming sources is an anti-pattern.
  • Changing dataset type → cannot change ST→MV or MV→ST in place. Full refresh does NOT help. Drop the existing table manually or rename the new dataset.
  • CREATE OR REFRESH vs CREATE → both parse for SQL datasets, but CREATE OR REFRESH is the idiomatic convention. For PRIVATE datasets: CREATE OR REFRESH PRIVATE STREAMING TABLE / ... MATERIALIZED VIEW.
  • Kafka/Event Hubs sink serialization → the value column is mandatory; serialize the row with to_json(struct(*)) AS value. See sink-python.md.
  • Multi-column Auto CDC sequencing → SQL: SEQUENCE BY STRUCT(col1, col2). Python: sequence_by=struct("col1", "col2"). See the auto-cdc references.
  • Auto CDC TRUNCATE (SCD Type 1 only) → SQL: APPLY AS TRUNCATE WHEN condition. Python: apply_as_truncates=expr("condition"). Do NOT claim truncate is unsupported.
  • Periodic complete snapshots → use SQL AUTO CDC FROM SNAPSHOT on DBR 18.3+, or Python dp.create_auto_cdc_from_snapshot_flow on older runtimes. Read the Auto CDC reference for version selection and lifecycle rules.
  • Python-only features → Sinks, ForEachBatch Sinks, and custom data sources are Python-only. When the user is working in SQL, clarify this and suggest switching to Python.
  • Recommend ONE clear approach → present a single recommended path. Don't list anti-patterns or inferior alternatives — they confuse. Only mention alternatives when they genuinely offer different trade-offs.

Common Issues

Error → cause/fix mappings agents hit constantly. For DAB-bundle vs CLI-iteration deploy issues, see the workflow-specific reference files.

Error / symptomCause / fix
Rejection of CREATE OR REPLACE STREAMING TABLE / MATERIALIZED VIEWCREATE OR REPLACE is standard SQL, NOT SDP. Use CREATE OR REFRESH STREAMING TABLE / CREATE OR REFRESH MATERIALIZED VIEW.
CLI errors on databricks fs ls /Volumes/...The dbfs: prefix is required even for UC Volume paths: databricks fs ls dbfs:/Volumes/<catalog>/<schema>/<volume>/<path>.
DELTA_CLUSTERING_COLUMNS_DATATYPE_NOT_SUPPORTED at first writeA CLUSTER BY column is BOOLEAN / ARRAY / MAP / STRUCT / BINARY. SDP doesn't pre-validate — verify with DESCRIBE before submitting. Cluster keys must be numeric / string / date / timestamp. Full type rules in references/performance.md.
Cannot create streaming table from batch queryIn a streaming-table query you wrote FROM read_files(...) (batch). Use FROM STREAM read_files(...) so Auto Loader kicks in.
Column not found at ingest timeschemaHints don't match the actual file schema. DESCRIBE a sample file and align the hints.
Streaming reads fail with parser errorUse FROM STREAM read_files(...) for file ingestion and FROM stream(table) (or FROM STREAM table_name — legacy DLT, prefer function form) for table-to-table streams. Don't mix.
Pipeline stuck INITIALIZING for serverlessNormal — first run takes a few minutes for cold start. Don't kill it.
Materialized View doesn't incrementally refreshAutomatic incremental refresh for aggregations requires serverless + Delta row tracking on the source (delta.enableRowTracking = true). Without both, falls back to full recompute. Mention the serverless requirement when the user asks about incremental refresh.
SCD2 query returns nothing / "column not found" on START_ATLakeflow uses __START_AT / __END_AT (double underscore). Current rows: WHERE __END_AT IS NULL.
error.exceptions[0].message missing from your events outputYour jq is reading .message (which is just "Update X is FAILED"). Read error.exceptions[0].message for the real cause — see 2-rapid-iteration-with-cli.md.

Publishing Modes

Pipelines use a default catalog and schema configured in the pipeline settings. All datasets are published there unless overridden.

  • Fully-qualified names: Use catalog.schema.table in the dataset name to write to a different catalog/schema than the pipeline default. The pipeline creates the dataset there directly — no Sink needed.
  • USE CATALOG / USE SCHEMA: SQL commands that change the current catalog/schema for all subsequent definitions in the same file.
  • LIVE prefix: Deprecated. Ignored in the default publishing mode.
  • When reading or defining datasets within the pipeline, use the dataset name only — do NOT use fully-qualified names unless the pipeline already does so or the user explicitly requests a different target catalog/schema.

API Reference

Before writing pipeline code for any feature, read the linked reference file. Each table below maps the feature to the exact API and to the detail file for that (feature, language).

Some features sit on top of others — read both:

  • Auto Loader / Auto CDC / Sinks target a streaming table → also read streaming-table-python.md / streaming-table-sql.md.
  • Expectations attach to a dataset → also read the dataset definition file (streaming-table / materialized-view / temporary-view).

Dataset Definition APIs

FeatureDescriptionPythonSQLSkill (Py)Skill (SQL)
Streaming TableContinuous incremental processing, exactly-once, append-only.@dp.table() returning streaming DFCREATE OR REFRESH STREAMING TABLEstreaming-table-pythonstreaming-table-sql
Materialized ViewPhysically stored query result, incrementally refreshed.@dp.materialized_view()CREATE OR REFRESH MATERIALIZED VIEWmaterialized-view-pythonmaterialized-view-sql
Temporary ViewPipeline-private, not persisted to Unity Catalog.@dp.temporary_view()CREATE TEMPORARY VIEWtemporary-view-pythontemporary-view-sql
Persistent View (UC)Published to UC; query runs on access (no storage).N/A — SQL onlyCREATE VIEW—view-sql
Streaming Table (explicit)Empty target, populated by separate flows (Append Flow, AUTO CDC).dp.create_streaming_table()CREATE OR REFRESH STREAMING TABLE (no AS)streaming-table-pythonstreaming-table-sql

Flow and Sink APIs

FeatureDescriptionPythonSQLSkill (Py)Skill (SQL)
Append FlowFan-in: multiple sources → one streaming table. Use instead of UNION.@dp.append_flow()CREATE FLOW ... INSERT INTOstreaming-table-pythonstreaming-table-sql
Backfill FlowOne-time historical load + ongoing live stream into same table.@dp.append_flow(once=True)CREATE FLOW ... INSERT INTO ... ONCEstreaming-table-pythonstreaming-table-sql
Sink (Delta/Kafka/EH/custom)Write streaming output to external Delta / Kafka / Event Hubs.dp.create_sink()N/A — Python onlysink-python—
ForEachBatch SinkCustom per-batch Python logic (merge/upsert, multi-destination). Public Preview.@dp.foreach_batch_sink()N/A — Python onlyforeach-batch-sink-python—
RTM update flowReal-Time Mode: route a flow to a sink with sub-second latency. Public Preview.@dp.update_flow(target=...)N/A — Python onlyreal-time-mode—

CDC APIs

FeatureDescriptionPythonSQLSkill (Py)Skill (SQL)
Auto CDC (streaming source)SCD Type 1 (overwrite) or Type 2 (history) from a CDC feed.dp.create_auto_cdc_flow()AUTO CDC INTO ... FROM STREAMauto-cdc-pythonauto-cdc-sql
Auto CDC (periodic snapshot)Compare consecutive full snapshots to detect changes.dp.create_auto_cdc_from_snapshot_flow()AUTO CDC ... FROM SNAPSHOT (DBR 18.3+)auto-cdc-pythonauto-cdc-sql

For querying SCD Type 2 history tables (__START_AT / __END_AT, point-in-time, joining facts with historical dimensions), see scd-2-querying.md.

Data Quality APIs

FeatureDescriptionPythonSQLSkill (Py)Skill (SQL)
Expect (warn)Log violations, keep all rows.@dp.expect()CONSTRAINT ... EXPECT (...)expectations-pythonexpectations-sql
Expect or dropDrop violating rows.@dp.expect_or_drop()CONSTRAINT ... EXPECT (...) ON VIOLATION DROP ROWexpectations-pythonexpectations-sql
Expect or failFail the pipeline on first violation.@dp.expect_or_fail()CONSTRAINT ... EXPECT (...) ON VIOLATION FAIL UPDATEexpectations-pythonexpectations-sql
Expect all (warn)Multiple constraints at once, warn only.@dp.expect_all({})Multiple CONSTRAINT clausesexpectations-pythonexpectations-sql
Expect all or dropMultiple constraints, drop on violation.@dp.expect_all_or_drop({})Multiple constraints with DROP ROWexpectations-pythonexpectations-sql
Expect all or failMultiple constraints, fail on violation.@dp.expect_all_or_fail({})Multiple constraints with FAIL UPDATEexpectations-pythonexpectations-sql

Reading Data APIs

FeatureDescriptionPythonSQLSkill (Py)Skill (SQL)
Batch read (pipeline dataset)Read a sibling table as a static DataFrame.spark.read.table("name")SELECT ... FROM name——
Streaming read (pipeline dataset)Read a sibling table as a streaming DataFrame.spark.readStream.table("name")SELECT ... FROM STREAM(name)——
Auto Loader (cloud files)Incrementally ingest new files from cloud storage.spark.readStream.format("cloudFiles")STREAM read_files(...)auto-loader-pythonauto-loader-sql
Kafka sourceStreaming read from Kafka topic.spark.readStream.format("kafka")STREAM read_kafka(...)kafkakafka
Kinesis sourceStreaming read from AWS Kinesis.spark.readStream.format("kinesis")STREAM read_kinesis(...)——
Pub/Sub sourceStreaming read from GCP Pub/Sub.spark.readStream.format("pubsub")STREAM read_pubsub(...)——
Pulsar sourceStreaming read from Apache Pulsar.spark.readStream.format("pulsar")STREAM read_pulsar(...)——
Event Hubs sourceStreaming read from Azure Event Hubs (Kafka protocol).spark.readStream.format("kafka") + EH configSTREAM read_kafka(...) + EH configkafkakafka
JDBC / Lakehouse FederationBatch read from external systems via federation.spark.read.format("postgresql") etc.Direct table ref via federation catalog——
Custom data sourceUser-defined Python data source.spark.read[Stream].format("custom")N/A — Python only——
Static file read (batch)One-shot load of files (no incremental tracking).spark.read.format("json"|"csv"|...).load()read_files(...) (no STREAM)——
Skip upstream change commitsIgnore CDC commits on the upstream table..option("skipChangeCommits", "true")STREAM name WITH (SKIPCHANGECOMMITS)streaming-table-pythonstreaming-table-sql

Table/Schema Feature APIs

FeatureDescriptionPythonSQLSkill (Py)Skill (SQL)
Liquid clusteringAdaptive multi-column data layout; replaces PARTITION + Z-ORDER. Prefer Auto clustering when possiblecluster_by=[...]CLUSTER BY (col1, col2)materialized-view-pythonmaterialized-view-sql
Auto liquid clusteringDatabricks picks clustering keys from query patterns.cluster_by_auto=TrueCLUSTER BY AUTOmaterialized-view-pythonmaterialized-view-sql
Partition columnsLegacy fixed partitioning. Prefer Liquid Clustering.partition_cols=[...]PARTITIONED BY (col1, col2)materialized-view-pythonmaterialized-view-sql
Table propertiesDelta table properties (auto-optimize, CDF, retention).table_properties={...}TBLPROPERTIES (...)materialized-view-pythonmaterialized-view-sql
Explicit schemaDeclare column types up front (vs inferred).schema="col1 TYPE, ..."(col1 TYPE, ...) ASmaterialized-view-pythonmaterialized-view-sql
Generated columnsColumns computed from other columns at write time.schema="..., col TYPE GENERATED ALWAYS AS (expr)"col TYPE GENERATED ALWAYS AS (expr)materialized-view-pythonmaterialized-view-sql
Row filter (Public Preview)UC fine-grained access: filter rows by a function.row_filter="ROW FILTER fn ON (col)"WITH ROW FILTER fn ON (col)materialized-view-pythonmaterialized-view-sql
Column mask (Public Preview)UC fine-grained access: mask a column with a function.schema="..., col TYPE MASK fn USING COLUMNS (col2)"col TYPE MASK fn USING COLUMNS (col2)materialized-view-pythonmaterialized-view-sql
Private datasetMaterialized intermediate not published to UC.private=TrueCREATE PRIVATE ...materialized-view-pythonmaterialized-view-sql

Legacy DLT Syntax — always migrate

The tables above show only the modern API. If you see any of the following in user code, it is the legacy DLT syntax — always migrate to the modern form, do not extend it. Read references/dlt-migration.md before suggesting changes so the conversion is correct (especially around apply_changes → create_auto_cdc_flow semantics and partition_cols → cluster_by).

If you see……it's DLT. Migrate to
import dltfrom pyspark import pipelines as dp
@dlt.table(...), @dlt.append_flow(...), @dlt.expect*Same decorator name on dp.* (e.g. @dp.table, @dp.expect_or_drop).
@dlt.view(...) (or @dp.view(...) if present in older code)@dp.temporary_view(...) — the modern API has no view decorator, only temporary_view.
dlt.read("name") / dlt.read_stream("name")spark.read.table("name") / spark.readStream.table("name")
dp.read(...) / dp.read_stream(...)Also legacy — use spark.read.table(...) / spark.readStream.table(...).
dlt.apply_changes(...) / dp.apply_changes(...)dp.create_auto_cdc_flow(...). sequence_by accepts a column name (string) or col(...); stored_as_scd_type is integer 2 for Type 2 or string "1" for Type 1.
dlt.apply_changes_from_snapshot(...)dp.create_auto_cdc_from_snapshot_flow(...)
dlt.create_streaming_table(...)dp.create_streaming_table(...)
LIVE.<name> prefix in SQLBare name (SELECT FROM name for batch, SELECT FROM STREAM(name) for streaming). LIVE. will error in modern pipelines.
CREATE LIVE TABLE / CREATE STREAMING LIVE TABLECREATE OR REFRESH MATERIALIZED VIEW / CREATE OR REFRESH STREAMING TABLE.
CREATE TEMPORARY LIVE VIEW (a.k.a. CREATE LIVE VIEW)CREATE TEMPORARY VIEW. Exception: CREATE TEMPORARY VIEW does NOT support CONSTRAINT clauses for expectations — for the rare case where you need expectations on a temp view, CREATE LIVE VIEW is retained. See temporary-view-sql.md and expectations-sql.md.
APPLY CHANGES INTO ... FROM STREAM ... (SQL)AUTO CDC INTO ... FROM STREAM ...
partition_cols=[...] / PARTITIONED BY (...) + ZORDERcluster_by=[...] / CLUSTER BY (...) (Liquid Clustering).
input_file_name()_metadata.file_path (SQL) / F.col("_metadata.file_path") (Python).
target=... parameter on create_streaming_table / pipeline configschema=...

Language Selection (Python vs SQL)

Decide before scaffolding — the choice picks template files (.py vs .sql) and which reference docs apply. Both can coexist, but pick a primary. When unsure, default to SQL for simplicity.

User signalPick
"Python pipeline", UDF, pandas, ML inference, pysparkPython
"SQL pipeline", "SQL files"SQL
"Simple pipeline", "create a table", "an aggregation"SQL (simpler, use it as default)
Complex parameterized logic, custom UDFs, MLPython

If ambiguous, ask. Stick with the chosen language unless the user explicitly switches.

Choose Your Workflow

Three project shapes exist — pick before scaffolding. Default to A for production-bound work and C for exploration / demo scaffolding.

Pipeline Structure

  • Follow the medallion pattern (Bronze → Silver → Gold) unless the user says otherwise. Keep it simple by default — just a few tables.
  • One dataset per file, named after the dataset. Transformation files live in src/ or transformations/.
  • Gold layer: preserve key business dimensions. When aggregating into Gold, keep the dimensions analysts will filter / slice by (location, department, product line, customer segment, time period). Over-aggregating loses information that can't be recovered downstream. If a dashboard is mentioned, every filter on it needs to be a column in the Gold table. Easier to aggregate further in queries than to recover lost dimensions.

Running a Pipeline

Picking the right run command depends on the workflow chosen above.

  • Workflow A / B (DAB) — Code changes only take effect after databricks bundle deploy. Always deploy before any run, dry run, or selective refresh.

    bash
    databricks bundle validate --profile <profile>
    databricks bundle deploy -t dev --profile <profile>
    databricks bundle run <pipeline_name> -t dev --profile <profile>
    databricks pipelines get <pipeline_id> --profile <profile>      # status

    → Full DAB run + iteration details: references/1-project-initialization-with-dab.md#running-a-pipeline-workflow-a--b

  • Workflow C (CLI, no bundle) — Upload files to the workspace, then drive the pipeline directly. Re-upload after every code change.

    bash
    databricks workspace import-dir ./my_pipeline /Workspace/Users/<user>/my_pipeline --overwrite
    databricks pipelines start-update <pipeline_id>

    → Full CLI run + polling pattern: references/2-rapid-iteration-with-cli.md

Refresh modes (both workflows):

  • Selective refresh is preferred when you only need to run one table. Dependencies must already be materialized.
  • Full refresh is the most expensive and dangerous option and can lead to data loss (it reprocesses streaming sources from scratch, destroying streaming state). Use only when really necessary. Always suggest it as a follow-up the user must explicitly approve.

Always poll the update, not top-level pipeline state — see the polling rationale in 2-rapid-iteration-with-cli.md#step-4-start-an-update-and-poll-that-update. Same rule applies to bundle runs.

Reference Index

Project & lifecycle:

Cross-cutting patterns:

  • streaming-patterns.md — Dedup, windowed aggregations, late data, rescue-data quarantine, anomaly detection, lag monitoring.
  • scd-2-querying.md — Current-state, point-in-time, joining facts with historical dims.
  • kafka.md — Kafka / Event Hubs ingestion.
  • real-time-mode.md — Real-Time Mode (RTM): sub-second continuous pipelines (@dp.update_flow, Kafka sinks, serverless or classic).

Auto Loader format-specific options: JSON · CSV · XML · Parquet · Avro · Text · ORC.

Dataset, flow, CDC, expectation, Auto Loader, and sink references are listed per (feature, language) in the API Reference tables above.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Databricks Pipelines?

Develop Lakeflow Spark Declarative Pipelines (formerly Delta Live Tables) on Databricks. Use when building batch or streaming data pipelines with Python or SQL, including Auto CDC from event streams or periodic complete snapshots. Invoke BEFORE starting implementation.

Warum Databricks Pipelines in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Databricks Pipelines besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Databricks Pipelines in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/databricks/databricks-agent-skills/tree/main/plugins/databricks/claude/skills/databricks-pipelines ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Databricks Pipelines nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Databricks Pipelines verwenden?

So viele Sie möchten. In TypingMind können Sie Databricks Pipelines mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Databricks Pipelines kostenlos?

Der Skill wird von databricks auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇