Skip to content

DataCoolie engineering notes

Build reliable Python data pipelines with practical guides grounded in DataCoolie's tested examples. Start with the SQL Server-to-Fabric medallion walkthrough, then read the Polars and Spark decision guide or read why we built DataCoolie.

Evaluating the wider tool landscape? Read the evergreen Python ETL framework guide. Task procedures belong in the User guide, not in fragmented blog posts.

Polars vs Spark — Choose by Platform and ETL Layer

Use Polars when a job fits comfortably on one machine and a lightweight Python runtime reduces startup and operating cost. Use Spark when the workload needs distributed compute or the platform's catalog, table format, and optimization features are Spark-native. Data size matters, but it is not the only decision.

On Databricks, Spark is usually the practical default because the managed runtime already configures it. On Microsoft Fabric, the answer can change by medallion layer: Polars can suit small Bronze jobs, while Spark is the safer default for a Gold layer serving Direct Lake because it can write V-Order. On AWS, distinguish Glue or EMR Spark jobs from single-node Python runtimes before choosing an engine.

Why We Built DataCoolie

Data teams prototype pipelines locally, then rewrite the same logic for Spark and again for each cloud runtime. That duplicates ETL code and makes operational behavior — watermarks, schema hints, partitions, load strategies — drift across environments.

We built DataCoolie to solve this by separating pipeline intent from execution details — and by making that intent machine-readable so AI can author, validate, and evolve it alongside you.