<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kenny Peeters on Medium]]></title>
        <description><![CDATA[Stories by Kenny Peeters on Medium]]></description>
        <link>https://medium.com/@kpeetersd?source=rss-83f24ac0f87c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*AbNCFb9LTY1tOMyd</url>
            <title>Stories by Kenny Peeters on Medium</title>
            <link>https://medium.com/@kpeetersd?source=rss-83f24ac0f87c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:29:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kpeetersd/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I used Claude to organize My Work]]></title>
            <link>https://pub.towardsai.net/how-i-used-claude-to-organize-my-work-d878e3b99ab8?source=rss-83f24ac0f87c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d878e3b99ab8</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[claude]]></category>
            <dc:creator><![CDATA[Kenny Peeters]]></dc:creator>
            <pubDate>Fri, 30 Oct 2026 16:00:35 GMT</pubDate>
            <atom:updated>2026-11-02T09:41:46.102Z</atom:updated>
            <content:encoded><![CDATA[<h4>One Markdown file per topic, a dashboard that is just an HTML file, and Claude Code doing the bookkeeping.</h4><p>I’m a data consultant. In a normal week I work on pipelines for a client, on internal work for my employer, and on a few side projects of my own. Right now that adds up to more than twenty topics. Each of them lives in several places at once: a repo, a branch, a Jira epic, a mail thread, a folder on OneDrive, and my head.</p><p>Claude Code made me faster at the work itself. But every new session started from zero. I spent the first minutes of each one explaining where we were, which branch, what was decided last week and why. Multiply that by twenty topics and it becomes a real cost.</p><p>So over a few days I built a small system around one idea: give Claude a memory that I can read too.</p><h3>One file per topic</h3><p>Every topic gets one Markdown document in a shared folder, and an INDEX.md lists them all with one line each. A topic doc holds only what you can&#39;t get from the code:</p><ul><li><strong>Where</strong> it lives: repos, branches, folders.</li><li><strong>Status</strong>, as dated lines.</li><li><strong>Decisions</strong>, each with its why.</li><li><strong>Open items</strong>, as checkboxes.</li></ul><p>No code, no schemas, no copies of models. Those are in the repo already.</p><pre>---<br>name: signal-upgrade<br>context: acme<br>status: bezig<br>---<br># Signal Upgrade<br>**Waar:** C:\GIT\project\signal_upgrade (branch feature/event-api-ingest)<br><br>## Open punten<br>- [ ] ACME-104 Add retry with backoff to the event ingest ⏱ 4u 🏃 2026-11-02<br>- [ ] ACME-107 Document the renamed fields 📅 2026-11-06</pre><p>The rules for these files sit in Claude Code’s global instructions (CLAUDE.md), which every session loads. Read the index and the matching doc before acting. Update the doc after meaningful progress, without being asked. Never mix data between contexts.</p><p>Now a session starts with one sentence: “continue with topic X”. Claude reads two small files and knows where we left off. A topic follows the subject, not the technology, so the dbt model, the SQL table and the Airflow DAG for one feature all end up in the same doc.</p><h3>A dashboard that is just a file</h3><p>Reading Markdown files one by one doesn’t give you an overview. So the second piece is a dashboard. It is a single HTML file, set as my browser’s start page. There is no server and nothing to install. It uses the browser’s File System Access API: I picked the topics folder once, and from then on it reads and writes the same files Claude does.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_auwUFqHzrA3N_TPr2GBw.png" /><figcaption>The overview: topics grouped by context, with deadlines, branches and open items (DEMO DATA. The interface is in Dutch, my native language)</figcaption></figure><p>Topics are grouped by context: client, employer, personal. A deadline is just 📅 2026-11-06 at the end of an open item, and the dashboard turns it into a chip that goes orange or red as the date gets close. A topic marked as in progress that hasn&#39;t changed in two weeks gets a &quot;quiet&quot; badge. A board view groups topics by status, and an open items view lists every task across all topics, with a &quot;this week&quot; filter.</p><p>The button I use most is <strong>Start in Claude</strong>. It opens Claude Code in VS Code through a vscode:// link, with a prompt already filled in: read the index and this topic doc, summarize, ask what we do today. I still press Enter myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-HCT7IImP8FpiwYmO_IYBA.png" /><figcaption>A topic opened: context and status switches, the Start in Claude button, open items with estimates and deadlines.</figcaption></figure><p>Why a plain file? My work laptop is a corporate machine. No installs without a good reason, and no new connections to client systems. A local HTML file fits inside those rules. Jira follows the same logic: instead of an API connection, I export a CSV and the dashboard imports it.</p><h3>Asking instead of setting up</h3><p>At the top of the dashboard there is one text box. What I type there goes to Claude as a command.</p><p>An idea goes to /topic-idea. Claude first checks whether it already belongs to an existing topic, or was already rejected there. It asks at most three questions about what&#39;s missing: who wants it, a deadline, a Jira key, whether it touches sensitive data. Then it gives one to three options with effort and main risk, and asks: go, adjust or drop? Nothing gets built before I say go.</p><p>A question that starts with ? goes to /topic-ask instead. That one searches across all topic docs for things like &quot;what did I still have to ask someone?&quot; or &quot;there was something about a password that expires&quot;. It answers with the topic and the line, and changes nothing.</p><p>Once in a while I run /topics-curate. Claude reads all docs as one collection and proposes merges, renames and cleanup. I approve what I agree with. Claude does the bookkeeping, I make the decisions.</p><h3>Mail without exporting mail</h3><p>A lot of project knowledge arrives by mail. I didn’t want mails copied to disk or synced anywhere. So I drag relevant mails into an Outlook folder per topic, and /topic-mail reads the new ones through Outlook itself, read-only. The only thing it stores is the list of message ids it has processed.</p><p>The mails are read by a subagent running on a cheaper model. It returns a short digest of decisions, deadlines, blockers and tasks, so the raw mail text never enters my main session. Only facts go into the topic doc, never mail text. For the first real thread, that took the text Claude had to handle from about 78 KB to 14 KB.</p><h3>Planning a sprint</h3><p>/topic-sprint estimates every open item that doesn&#39;t have an estimate yet (⏱ 4u). It reads my calendar, also read-only, for vacation and public holidays. Capacity is six plannable hours per workday; the other two cover the work you can&#39;t plan. Then it proposes a sprint: carry-over first, then deadlines, then items that unblock other people, then the rest. After my ok it marks the chosen items with the sprint date.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oEXV4hIMJGqaHQ1C_d7HFQ.png" /><figcaption>The sprint tab places work blocks between meetings. Only meeting times and busy status are exported, never subjects.</figcaption></figure><p>The dashboard turns those items into work blocks between my meetings. I can drag and resize them, and export them as an .ics file that I import into my calendar myself. Nothing writes to my calendar directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d6WO6bbHdjXM_YeGkA8Edw.png" /><figcaption>Every open item across all topics in one list, with Jira keys, estimates and deadlines.</figcaption></figure><h3>Keeping the cost down</h3><p>A colleague’s first reaction was: “that must burn a lot of tokens”. It made me look. The docs themselves are cheap: the index plus one topic doc is a few kilobytes, and the dashboard costs nothing because it isn’t AI at all. The real cost was somewhere else: raw data pulled into the main conversation, and routine work running on the biggest model.</p><p>So the global instructions now say “look before you load”: check sizes and counts first, and never dump whole files or logs when a filter answers the question. Routine commands run on a smaller model through one line in their frontmatter, and bulk reading such as mail goes to a subagent that only returns a digest.</p><p>One more small piece: a Stop hook. When Claude has changed files or made a commit but hasn’t touched the topic doc since, the hook reminds it once to update the doc. That keeps the docs current without me asking.</p><h3>The boundaries that made it work</h3><ul><li><strong>Contexts never mix.</strong> Client, employer and personal topics each have their own docs, folders and mailbox. A config file names the contexts, and every command checks it.</li><li><strong>No new connections for client data.</strong> Outlook and the calendar are read locally. Jira comes in as a CSV export.</li><li><strong>Claude proposes, I approve.</strong> Ideas, curation and sprints all stop for my ok before anything changes.</li><li><strong>Docs hold only what the code can’t tell you.</strong> That keeps them short enough to read at the start of every session.</li></ul><h3>Installing it with a prompt</h3><p>Once it worked for me, I wanted it on my other laptop too, and maybe for colleagues later. So I moved everything into a git repo: the dashboard, the commands, the mail subagent, the scripts, the hook, and the rules block for CLAUDE.md.</p><p>There is no installer. You clone the repo, open Claude Code in it and say:</p><blockquote>Install the Topics Kit by following INSTALL.md.</blockquote><p>Claude asks for your contexts, writes the config, links the commands into Claude Code, adds the rules block and the hook, and shows every change before it writes it. The commands are linked rather than copied, so the repo stays the live version and every change I make shows up in git.</p><p>To test the install, I gave a fresh Claude agent with no context only the instructions, and let it install everything into a fake home folder. It worked, and it came back with fifteen spots where my instructions were unclear. That was the most useful review an install guide of mine has ever had. The demo data in these screenshots comes from that test.</p><h3>What changed</h3><ul><li>Starting a session costs one sentence instead of five minutes.</li><li>Every morning I see all my work on one screen, with what’s due this week on top.</li><li>Decisions keep their reasons, so “why did we do it like this?” has an answer months later.</li><li>Ideas get a quick feasibility check before I spend time on them.</li></ul><p>The whole thing took about four days, most of it built by talking to Claude. The dashboard was never the main point. What matters is that Claude keeps the notes, and I can read them.</p><p>If you want to try the idea, you don’t need any of my code. Start with one folder, an INDEX.md, and three rules in your CLAUDE.md: read the doc first, update it after progress, and keep only what the code can&#39;t tell you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d878e3b99ab8" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/how-i-used-claude-to-organize-my-work-d878e3b99ab8">How I used Claude to organize My Work</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developing dbt Locally Against SQL Server in Docker (And Why It Sometimes Just Stops Responding)]]></title>
            <link>https://medium.com/@kpeetersd/developing-dbt-locally-against-sql-server-in-docker-and-why-it-sometimes-just-stops-responding-6c7cab2dd3e0?source=rss-83f24ac0f87c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c7cab2dd3e0</guid>
            <category><![CDATA[dbt]]></category>
            <category><![CDATA[sql-server]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Kenny Peeters]]></dc:creator>
            <pubDate>Fri, 21 Aug 2026 08:14:07 GMT</pubDate>
            <atom:updated>2026-08-21T08:14:07.048Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re building a dbt project against SQL Server — on-prem, Azure SQL, or (like here) a throwaway local instance for development — you’ll eventually want the same thing every dbt developer wants: <em>a fast local loop, in VS Code, against a real database, without waiting on anything.</em> Running SQL Server itself in Docker gets you there in minutes. The setup is genuinely simple — simpler than most cloud-warehouse adapters, since it’s just username and password, no identity provider in the loop at all.</p><p>What’s <em>not</em> obvious, and won’t show up in any adapter documentation, is the one thing that will make you doubt your own config after it’s worked perfectly for ten minutes: <strong>if your SQL Server container lives inside its own WSL distro, that distro can quietly stop itself when idle — and every symptom that produces looks exactly like a config problem.</strong> More on that below — first, the setup.</p><h3>What we’re building</h3><ul><li>A local dbt project (models, dbt_project.yml) that lives entirely on your machine.</li><li>A connection profile pointing at a SQL Server instance running in Docker, in its own WSL distro, reachable at localhost:1433.</li><li>A dedicated database for dbt to build into — not master.</li></ul><p>Deliberately the <em>simplest</em> way to get productive: no CI pipeline, no orchestration, just a terminal and a database you fully control. Everything past this — CI/CD, scheduled runs — is a separate, later concern.</p><h3>Prerequisites</h3><ul><li>Windows 11 with WSL2, and a SQL Server container already running in its own distro. (If you don’t have that yet: any Ubuntu WSL distro, Docker Engine installed inside it, and mcr.microsoft.com/mssql/server run via docker compose — that part isn&#39;t SQL-Server-adapter specific, so it isn&#39;t repeated here.)</li><li>VS Code on Windows, with the code CLI available.</li><li>The sa password (or a dedicated SQL login) for that instance.</li></ul><h3>Step 1 — Install the ODBC driver (inside the same WSL distro as the database)</h3><p>dbt reaches SQL Server through ODBC, and — same as every other dbt adapter that talks to this protocol — the driver is a system package, not something pip install pulls in.</p><pre>curl -sSL -O https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb<br>sudo dpkg -i packages-microsoft-prod.deb<br>rm packages-microsoft-prod.deb<br>sudo apt-get update -y<br>sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc</pre><p>Run this <strong>inside the distro that hosts the database container</strong>, not a different one. That choice isn’t arbitrary: it means the connection string can just say server: localhost with no cross-distro networking to reason about — dbt and the database share the same network namespace.</p><h3>Step 2 — Python environment and dbt</h3><pre>cd /mnt/c/&lt;path-to-your-project&gt;<br>python3 -m venv .venv<br>source .venv/bin/activate<br>pip install --upgrade pip<br>pip install dbt-core dbt-sqlserver<br>dbt --version</pre><pre>dbt-core==1.12.3<br>dbt-sqlserver==1.11.1</pre><p>dbt-sqlserver is a community-maintained adapter (dbt-msft) that follows dbt-core&#39;s own versioning — worth pinning both together rather than letting them drift.</p><h3>Step 3 — A dedicated database, not master</h3><p>There’s no read-only-endpoint constraint to design around here — unlike a Fabric Lakehouse’s SQL endpoint, this instance is entirely yours, full read/write, no exceptions. That’s precisely why it’s worth being deliberate anyway: build into your own database, not the instance’s system one.</p><pre>docker exec -i &lt;container-name&gt; /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P &#39;&lt;password&gt;&#39; -C &lt;&lt;&#39;SQL&#39;<br>IF DB_ID(&#39;dbt_on_sql&#39;) IS NULL CREATE DATABASE dbt_on_sql;<br>SQL</pre><h3>Step 4 — Project structure</h3><pre>dbt_project.yml<br>models/<br>.gitignore   (target/, dbt_packages/, logs/, .venv/, profiles.yml)</pre><pre>name: &#39;my_dbt_project&#39;<br>version: &#39;1.0.0&#39;<br>config-version: 2<br>profile: &#39;my_dbt_project&#39;<br>model-paths: [&quot;models&quot;]<br>clean-targets: [&quot;target&quot;, &quot;dbt_packages&quot;]<br>models:<br>  my_dbt_project:<br>    +materialized: view</pre><h3>Step 5 — profiles.yml, and the gotcha that actually matters here</h3><p>Create ~/.dbt/profiles.yml inside WSL (never commit this — it lives outside the repo):</p><pre>my_dbt_project:<br>  target: dev<br>  outputs:<br>    dev:<br>      type: sqlserver<br>      driver: &#39;ODBC Driver 18 for SQL Server&#39;<br>      server: localhost<br>      port: 1433<br>      database: dbt_on_sql<br>      schema: dbo<br>      user: sa<br>      password: &#39;&lt;password&gt;&#39;<br>      encrypt: true<br>      trust_cert: true<br>      login_timeout: 30</pre><p>Compare this to what a Fabric or Azure SQL profile needs: no tenant, no client ID, no identity provider, no interactive-login-vs-CLI decision to make. Just a user and a password. This is the adapter where auth is refreshingly boring.</p><blockquote><strong><em>The one line that isn’t boring: </em></strong><strong><em>trust_cert: true.</em></strong><em> A locally-run SQL Server container generates its own self-signed TLS certificate on first boot — nobody configured that, it&#39;s just the default. </em><em>dbt-sqlserver defaults </em><em>trust_cert to </em><em>false, which is the </em>correct<em> setting against a real, properly certified server — and the thing that breaks this one, since nothing signed this certificate. Without it, the connection fails during the TLS handshake, before authentication is even attempted, which reads like a much stranger problem than it actually is. Leave this at its default for anything other than a throwaway local instance.</em></blockquote><h3>Step 6 — Wire up VS Code</h3><pre>code --install-extension ms-vscode-remote.remote-wsl<br>code --install-extension ms-python.python<br>code --install-extension innoverio.vscode-dbt-power-user</pre><p>Open the project from <em>inside</em> the WSL distro:</p><pre>cd /mnt/c/&lt;path-to-your-project&gt;<br>code .</pre><p>Select ./.venv/bin/python as the interpreter, or set it once via .vscode/settings.json.</p><h3>Step 7 — Prove it end to end</h3><pre>source .venv/bin/activate<br>dbt debug</pre><p>The first connection can take noticeably longer than a purely local database has any business taking — that’s ODBC/pyodbc warming up, not a hang. A successful run still ends with All checks passed!.</p><pre>-- models/staging/stg_example.sql<br>select 1 as id, &#39;hello from dbt on sql server&#39; as message</pre><pre>dbt run --select stg_example</pre><p>Success creates a new view in your database’s schema — check it from any SQL client (DBeaver, Azure Data Studio, sqlcmd) pointed at the same host/port/credentials.</p><h3>The gotcha that has nothing to do with dbt at all</h3><p>Here’s the thing that will actually cost you time, and it has nothing to do with anything above. <strong>If your SQL Server container lives in its own WSL distro, that distro can stop itself after a period of no attached session — and the container stops with it.</strong> Everything that then happens looks exactly like a broken setup:</p><pre>The TCP/IP connection to the host localhost, port 1433 has failed. Error: &quot;Connection<br>refused: no further information. Verify the connection properties. Make sure that an<br>instance of SQL Server is running on the host and accepting TCP/IP connections at the<br>port...&quot;</pre><p>That message is <em>correct</em> — nothing is listening — but it’s easy to burn real time re-checking drivers, connection strings, and firewall rules before realizing the actual issue is one level down: the distro itself isn’t running.</p><p><strong>The fix is one command, run from Windows:</strong></p><pre>wsl -d &lt;distro-name&gt; -u &lt;user&gt; -- docker ps</pre><p>That alone wakes the distro (and the container with it, assuming restart: unless-stopped in its docker-compose.yaml) in a few seconds. Whether it&#39;s worth automating this — a logon task that keeps the distro permanently attached — is a real tradeoff: convenience now versus a permanent, easy-to-forget-about background process. There&#39;s no universally right answer; treat it as a deliberate choice rather than a default.</p><p>One more symptom worth naming even though it isn’t a dbt issue at all: if you’re also poking at this database from a GUI SQL client and it reports something like Invalid JDBC URL: jdbc:sqlserver://... — even for a URL that&#39;s syntactically fine — check which <em>driver</em> that connection is actually using before touching the URL. A misassigned driver (Oracle&#39;s, say, instead of SQL Server&#39;s) throws exactly this kind of error, and no amount of URL editing fixes it.</p><h3>Day-to-day</h3><p>Same <strong>dbt Power User</strong> extension experience as any other adapter — Compile / Preview / Run CodeLens above each model, a lineage sidebar, autocomplete for ref()/source().</p><h3>What this setup is (and isn’t)</h3><p>This gets you a fast local dev loop against a real, fully-controlled SQL Server instance — no CI queue, no waiting, and (unlike a shared cloud warehouse) no identity provider to fight with. It deliberately does <em>not</em> cover automated deployment, CI/CD against a real on-prem/Azure SQL target, or orchestration — those are separate, later write-ups, the same way they were for the Fabric branch of this series.</p><p>If you’ve hit a different flavor of “it worked five minutes ago” on a similar local setup, I’d like to hear it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c7cab2dd3e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Running dbt in VS Code Against a Microsoft Fabric Warehouse]]></title>
            <link>https://medium.com/@kpeetersd/running-dbt-in-vs-code-against-a-microsoft-fabric-warehouse-d942f4a77fbf?source=rss-83f24ac0f87c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d942f4a77fbf</guid>
            <category><![CDATA[microsoft-fabric]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[dbt]]></category>
            <category><![CDATA[wsl]]></category>
            <dc:creator><![CDATA[Kenny Peeters]]></dc:creator>
            <pubDate>Thu, 13 Aug 2026 09:53:30 GMT</pubDate>
            <atom:updated>2026-10-15T06:30:30.497Z</atom:updated>
            <content:encoded><![CDATA[<p>If your organization has landed on Microsoft Fabric as its data warehouse and dbt as its transformation tool, you’ll eventually hit the same question every dbt-on-Fabric team hits: <em>how do I actually develop this locally, in VS Code, against a real Fabric Warehouse or Lakehouse — without a slow CI round-trip for every SQL change?</em></p><p>The short answer: dbt-core plus the dbt-fabric adapter, running from WSL2, talking to Fabric&#39;s SQL analytics endpoint over ODBC. The setup is well documented in pieces, scattered across driver docs, adapter READMEs, and forum threads. What&#39;s <em>not</em> well documented is the one step that will eat your afternoon if you&#39;re not warned about it in advance: <strong>interactive login silently doesn&#39;t work inside WSL.</strong> More on that below — first, the setup.</p><h3>What we’re building</h3><ul><li>A local dbt project (models, dbt_project.yml) that lives entirely on your machine.</li><li>A connection profile pointing at your Fabric Warehouse/Lakehouse’s SQL endpoint.</li><li>No copy of “the Fabric project” anywhere — there isn’t one. Fabric holds the data; your repo holds the transformation logic. Running dbt run is what connects the two.</li></ul><p>This is deliberately the <em>simplest</em> way to get productive: no CI pipeline, no service principal, no Git-integrated workspace sync — just you, a terminal, and a warehouse you have read/write access to. Once this works, layering CI/CD or workspace-level Git sync on top is a separate, later concern — not a prerequisite.</p><h3>Prerequisites</h3><ul><li>Windows 11 with WSL2 (Ubuntu). Check with wsl -l -v; if nothing&#39;s installed, wsl --install -d Ubuntu-24.04.</li><li>VS Code on Windows, with the code CLI available.</li><li>Access to a Fabric workspace with a Warehouse or Lakehouse, and your own Entra ID account with read/write rights on it.</li></ul><blockquote><strong><em>One thing to check first:</em></strong><em> a Lakehouse’s SQL analytics endpoint is </em><strong><em>read-only</em></strong><em>. dbt can read from it fine as a </em><em>source, but it cannot create views or tables there. If you only have a Lakehouse and no Warehouse, you can still follow this guide to </em>read<em>, but any model that materializes as </em><em>view/</em><em>table needs a Warehouse as its target.</em></blockquote><h3>Step 1 — Install the ODBC driver (inside WSL)</h3><p>Fabric’s SQL endpoint speaks SQL Server’s wire protocol. dbt reaches it through ODBC, and the driver is a system package — pip install alone won&#39;t pull it in.</p><pre>curl -sSL -O https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb<br>sudo dpkg -i packages-microsoft-prod.deb<br>rm packages-microsoft-prod.deb<br>sudo apt-get update -y<br>sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc</pre><h3>Step 2 — Python environment and dbt</h3><pre>cd /mnt/c/&lt;path-to-your-project&gt;<br>python3 -m venv .venv<br>source .venv/bin/activate<br>pip install --upgrade pip<br>pip install dbt-core dbt-fabric<br>dbt --version</pre><p>Pin the versions in requirements.txt so teammates reproduce the same environment:</p><pre>dbt-core==1.12.0<br>dbt-fabric==1.10.0</pre><h3>Step 3 — Project structure</h3><p>At minimum, in the project root:</p><pre>dbt_project.yml<br>models/<br>.gitignore   (target/, dbt_packages/, logs/, .venv/, profiles.yml)</pre><pre>name: &#39;my_dbt_project&#39;<br>version: &#39;1.0.0&#39;<br>config-version: 2<br>profile: &#39;my_dbt_project&#39;<br>model-paths: [&quot;models&quot;]<br>clean-targets: [&quot;target&quot;, &quot;dbt_packages&quot;]<br>models:<br>  my_dbt_project:<br>    +materialized: view</pre><h3>Step 4 — profiles.yml, and the gotcha</h3><p>Create ~/.dbt/profiles.yml <strong>inside WSL</strong> (never commit this file — it lives outside the repo, per the .gitignore above):</p><pre>my_dbt_project:<br>  target: dev<br>  outputs:<br>    dev:<br>      type: fabric<br>      driver: &#39;ODBC Driver 18 for SQL Server&#39;<br>      server: &#39;&lt;workspace&gt;.datawarehouse.fabric.microsoft.com&#39;<br>      port: 1433<br>      database: &#39;&lt;warehouse-or-lakehouse-name&gt;&#39;<br>      schema: dbo<br>      authentication: cli<br>      user: &#39;&lt;you&gt;@yourcompany.com&#39;<br>      threads: 4<br>      encrypt: true<br>      trust_cert: false<br>      login_timeout: 60</pre><p>Every tutorial you’ll find defaults to authentication: ActiveDirectoryInteractive: log in with your own Entra ID account through a browser popup, no password in a config file. It&#39;s the right idea, and it works fine — <em>if</em> VS Code and dbt are running natively on Windows or macOS.</p><p><strong>Inside WSL, it usually doesn’t.</strong> The ODBC driver tries to launch a browser to complete the login. WSL2 has no default way to hand that off to your Windows desktop unless you’ve separately installed browser-launch interop (wslu/wslview, a BROWSER env var pointing somewhere useful). Without it, nothing visibly happens — no popup, no error — and after your configured login_timeout (or longer), dbt run simply fails with:</p><pre>Database Error<br>  (&#39;HYT00&#39;, &#39;[HYT00] [Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired (0) (SQLDriverConnect)&#39;)</pre><p>There is no device-code equivalent baked into the driver either — passing something like ActiveDirectoryDeviceCode doesn&#39;t fail informatively, it just throws:</p><pre>(&#39;08001&#39;, &quot;... Invalid value specified for connection string attribute &#39;Authentication&#39; ...&quot;)</pre><p>because that value doesn’t exist for this driver/adapter combination.</p><p><strong>The fix that actually works in WSL:</strong> authenticate through the Azure CLI instead, and point dbt at that cached login via authentication: cli.</p><pre>curl -sL https://aka.ms/InstallAzureCLIDeb -o /tmp/install_az.sh<br>sudo bash /tmp/install_az.sh<br>az login --use-device-code</pre><p>az login --use-device-code prints a URL and a short code directly in your terminal — open the URL in <em>any</em> browser, on <em>any</em> device, type the code, sign in. No interop between WSL and Windows required, because nothing needs to pop up on your desktop at all. The dbt-fabric adapter recognizes authentication: cli and reuses whatever az already has cached, refreshing it transparently as needed.</p><p>If you’re running dbt natively on Windows/macOS (not WSL), ActiveDirectoryInteractive is simpler and works as documented — this whole detour is specific to the WSL layer.</p><p>A security note worth taking seriously, not just a formality: device code flow — what az login — use-device-code uses — is a known phishing vector. An attacker can generate their own device code, send it to a target (“sign in here to access X”), and if that person completes the real Microsoft login using the attacker’s code, the attacker ends up with a valid token for the victim’s account — not their own. This isn’t theoretical: phishing campaigns using exactly this technique have been reported against real organizations, which is why some tenants restrict or block device code flow entirely via Conditional Access. None of that changes the mechanics above — you generate the code yourself and enter it yourself, there’s no second party in the loop — but it’s worth understanding the risk profile before reaching for this, and it’s why this setup stays personal and interactive: one developer, authenticating once, for local development. Don’t use device code flow to authenticate anything unattended — a scheduled job, a CI runner, a container with no human present. For that, use a service principal (client ID + secret or certificate) instead, exactly the mechanism the CI/CD section below already points to.</p><pre>code --install-extension ms-vscode-remote.remote-wsl<br>code --install-extension ms-python.python<br>code --install-extension innoverio.vscode-dbt-power-user</pre><p>Open the project from <em>inside</em> WSL, not from Windows Explorer:</p><pre>cd /mnt/c/&lt;path-to-your-project&gt;<br>code .</pre><p>VS Code should open in WSL mode (bottom-left status bar shows something like “WSL: Ubuntu-24.04”). Select ./.venv/bin/python as the interpreter, or set it once in .vscode/settings.json:</p><pre>{<br>  &quot;python.defaultInterpreterPath&quot;: &quot;./.venv/bin/python&quot;,<br>  &quot;python.terminal.activateEnvironment&quot;: true<br>}</pre><h3>Step 6 — Prove it end to end</h3><p>From the VS Code integrated terminal (not a background task — az login needs a human):</p><pre>source .venv/bin/activate<br>dbt debug</pre><p>A successful run ends with All checks passed!. Then run a small, harmless model to confirm the round trip actually writes to Fabric — a one-liner is enough:</p><pre>-- models/staging/stg_example.sql<br>select 1 as id, &#39;hello from dbt on fabric&#39; as message</pre><pre>dbt run --select stg_example</pre><p>If it succeeds, you’ll find a new view in your warehouse’s schema — visible in the Fabric portal, or previewable straight from VS Code via the dbt Power User extension.</p><h3>Day-to-day</h3><p>The <strong>dbt Power User</strong> extension adds CodeLens actions above every model:</p><ul><li><strong>Compile</strong> — render the SQL (Jinja/ref() resolved) without touching Fabric</li><li><strong>Preview</strong> — run the query, see results inline</li><li><strong>Run</strong> — actually materialize the model in Fabric</li></ul><p>Its sidebar shows a lineage graph as your model count grows, and autocompletes ref() / source() calls.</p><h3>What this setup is (and isn’t)</h3><p>This gets you a fast local dev loop against a real warehouse — no CI queue, no waiting. It deliberately does <em>not</em> cover automated deployment (a CI/CD pipeline building --target prod on merge, typically authenticating with a service principal instead of a personal login), and it does <em>not</em> cover syncing an entire Fabric workspace&#39;s items (Lakehouses, pipelines, notebooks) through Git — that&#39;s a different mechanism (Fabric&#39;s workspace Git integration) solving a different problem. Both are worth their own write-up; this one is deliberately just about getting a single dbt project talking to a single warehouse from your own machine.</p><p>Chapter two — syncing an entire Fabric workspace through Git — is next. If you’ve hit the WSL auth gotcha yourself and found a different fix, I’d like to hear it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d942f4a77fbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Every Event Runs on the Same Broken Spreadsheet. So I Rebuilt Project Management Around It.]]></title>
            <link>https://medium.com/@kpeetersd/every-event-runs-on-the-same-broken-spreadsheet-so-i-rebuilt-project-management-around-it-f0b0786a5160?source=rss-83f24ac0f87c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0b0786a5160</guid>
            <category><![CDATA[indiehackers]]></category>
            <category><![CDATA[ai-engineering]]></category>
            <category><![CDATA[product-engineering]]></category>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[event-management]]></category>
            <dc:creator><![CDATA[Kenny Peeters]]></dc:creator>
            <pubDate>Thu, 16 Jul 2026 22:16:29 GMT</pubDate>
            <atom:updated>2026-11-14T19:31:32.436Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve ever coordinated a group of people through a short, intense event — a festival, a conference, a large one-off production — you know the feeling.</p><p>It’s 11pm two days before doors open. Four spreadsheets, three group chats, a form nobody checks anymore, and a treasurer asking who still needs to be reimbursed from last time, because the receipts are, allegedly, “somewhere.” Nobody signs up to run logistics like this. It’s just how it’s always been done, and the tools don’t help: they’re either built for corporate HR, or stitched together from whatever free app someone grabbed two years ago and never replaced.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*YvJ4iCJsxSI5VD-8fjth2g.png" /><figcaption>We’ve all been there. It’s 11 PM, the festival gates open in less than 24 hours, and the spreadsheets are already outdated…</figcaption></figure><p>And that’s before the event even starts. Once people actually converge on-site, a second layer of chaos kicks in: someone calls in sick and you find out once the shift is already uncovered, someone’s late and nobody knows until they’re already late, someone doesn’t show up at all, someone gets lost finding the venue, carpools get arranged ad-hoc in a chat thread with zero real visibility into who’s driving with whom. None of that is an edge case. It’s Tuesday, every single event.</p><p>The usual response is a shrug: patch it live with a phone call, write it down somewhere nobody will look at again, do it the same way next time.</p><p>I know this from the inside. I started volunteering because a cousin dragged me into it, and the itch to be more involved never went away — my own association, planning things myself, being the one responsible on-site. Eventually I ended up as planner, building the actual shift schedule before anyone shows up. Then once I had to hand that off on short notice, mid-planning, because I was on vacation — and watching someone else pick it up cold made it obvious how big and fragile that task really is. I’m still a coordinator today, and the gap between “the planner’s job” and “the on-site coordinator’s job” became one of the clearest ideas behind everything that followed.</p><p>I’ve been chasing a better answer to this for 4 years, long before AI made it realistic to build it myself. This year that idea became real: a live system, actively running, handling real people and real money during real events as they happen. I’m not a software developer — I’m an IT professional, someone who’s spent a career solving operational problems rather than writing production code. What changed is that the distance between “I know exactly what this should do” and “it exists, tested, in production” mostly disappeared.</p><h3>Not volunteer software — project management for short sprints</h3><p>The reframe that took longest to land: this was never really about volunteers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*FtkAQPFbzrD6e1-dBpSoxQ.png" /><figcaption>What if there was a list of who’s tied to my organisation where all-round tasks are handed out. Luckily I can send them a chat to reach out as well.</figcaption></figure><p>Classic project management assumes a stable team working together over weeks, with room to iterate. An event is the opposite — a project compressed into a handful of days, run by people who might be doing this together for the first and only time, who show up, execute, and disperse. It’s not a smaller version of a normal project. It’s a different shape entirely: short sprints instead of long ones, a rotating cast instead of a fixed team, and no “we’ll fix it next cycle,” because there is no next cycle until next year.</p><p>That’s how the system stopped being “an app for festival volunteers” and became project management rebuilt for anyone coordinating groups of people — staff, crew, volunteers, whoever — through short, high-stakes bursts instead of long-running work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*i-OLjUHgtC2Jc29xxV2aRQ.png" /><figcaption>Wait, I have a bunch of locations and I have to assign people to a job? Let’s draw a timeline in my big notebook where I am not logging what is happening, but where I am journaling my current activity with no overview</figcaption></figure><p>It also gave every task an actual lifecycle instead of one flat “someone’s responsible” label. The planner does the heavy lifting before the event starts: building the schedule, filling the gaps. The on-site coordinator barely has to think about planning at all — their job is catching the small stuff as it happens so the person doing the task can just get on with it. That same link between planning and on-site tracking carries through to the money, too: because attendance is already captured as it happens, reimbursement notes generate themselves. No treasurer opens a spreadsheet to reconstruct who worked what.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*wC9h5aB8-UntHZ66b2DA3A.png" /><figcaption>Let me take 5 hours of my day to deal with 100 people’s expense notes one by one, just so everyone complies with the same rules. Or… who needs a button that can generate this?</figcaption></figure><h3>Real-time visibility, not a game of telephone</h3><p>This isn’t only for the organization coordinating the people — it’s just as much for the event that depends on them. Normally that dependency is a blind spot: a gap on the ground reaches the event organizer after ten relayed conversations over a walkie-talkie, once someone finally notices a post is empty and someone else tracks down who was supposed to be there.</p><p>The whole thing rests on something as simple as the access wristband: handed out and scanned at the gate, tied to that specific person, it turns “who’s actually here right now” from a guess into a number. At every event I’ve personally worked, that’s landed close to 99% — one wristband, one scan, one confirmed person. With that as the foundation, a gap is visible the moment it opens, not reconstructed after the fact. The same goes for changes: a plan made in the morning can be obsolete by afternoon, and normally getting that update to the one person who needs it means routing it through however many people stand in between — each hop a chance for it to arrive late or garbled. Cut the hops to zero, and it reaches the person doing the work directly, the moment it changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*FYqTsrugcHtKtD1s4EyrRA.png" /><figcaption>Hold on! There’s a gap on the map and no one is assigned to it? Let me call the person responsible for the person responsible for the person responsible… just to get to someone who actually has the answer.</figcaption></figure><h3>It updates during the event — which is the whole point</h3><p>Most software gets a normal feedback loop: ship, watch people use it, learn, iterate. An event never gives you that. By the time you’d sit down to iterate, the event is physically torn down — fences, stages, gone — along with the only window you had to act on what you learned. Traditional event software ships once and whatever’s broken on day one is still broken on the last day, because nobody redeploys production software mid-festival on a whim.</p><p>Here, the system keeps evolving while it runs. Something annoying on Saturday is fixed by Sunday. That only works with real discipline: every change is tested automatically before it ships, every risky change gets rebuilt into something reversible first, every structural change is tested against a copy of real, existing data before it goes near the live system. Speed without that discipline breaks things for people with no fallback mid-event. Speed with it is how you keep improving a live tool without breaking it.</p><p>None of it runs on borrowed infrastructure either. Every change goes through version control, so there’s always a paper trail. Today it runs as a proof of concept on my own home server, tuned most evenings, holding up against whatever a live event throws at it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*KVDlA-dVXY6T2wMNQE03iQ.png" /><figcaption>Oh no, something is not working as expected and the development team needs analysis, implementation, code review… and it is not even in their sprint. Oh well, the event has already finished and nothing was fixed in time. At least we made everyone feel alive and stressed.</figcaption></figure><h3>Where the leverage actually comes from</h3><p>The value was never in typing code faster. It’s in judgment — knowing which five things buried in a rambling piece of feedback are actually the same problem, knowing which “simple” change is secretly the risky one, insisting that nothing ships untested and nothing destructive ships without an undo. The AI executes; I direct, verify, and take responsibility for what goes live. Less vibe coding, more engineering with the labor split differently.</p><h3>The bigger idea</h3><p>Zoom out and this stops being one organization’s internal tooling problem. Today, every event that wants to work with volunteers finds an organization and the two of them rebuild the same ad-hoc relationship from scratch — same spreadsheets, same scattered chats, same walkie-talkie relay, reinvented every time, with nothing connecting one pairing to the next.</p><p>The bigger idea is to make that connection structured instead of reinvented: events get real-time oversight over whichever organization is running people for them, and volunteer organizations — many operating on essentially nothing — join and use it at no cost to them. It compounds, too: the more events and organizations on it, the easier “finding enough people” gets for everyone, a shared pool instead of a hundred isolated address books.</p><p>One thing I’m deliberate about, coming from a data consulting background: this isn’t meant to swallow whatever systems an organization already runs. It sits on top of them and talks to them instead of absorbing them — two systems that communicate cleanly beat one bloated system trying to be everything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*zP4Vi1vuvDeNk_gp6XToRg.png" /><figcaption>Not an intrusive new piece of exotic code in the main codebase… No. Middleware for events and organisation HR… Yes!</figcaption></figure><h3>If this pain sounds familiar</h3><p>If you coordinate people through a short, high-stakes event and recognize any of the chaos above, I’d like to hear about it. This is the problem I’ve spent years circling and am now actively solving, live, one demanding event at a time.</p><p>The tools this world deserves don’t have to come from a vendor who’s never worked an event gate at 2am. They can be built by someone who has — at a pace that used to require a full team, because building software just changed.</p><p>If that’s you, reach out. I’d love to compare notes on the chaos.</p><blockquote>Because now that the world of AI has opened up, we finally have the leverage to not just survive these broken processes, but to completely reimagine and optimize them. I’ve found my absolute sweet spot in cracking these operational puzzles — and I’m just getting started.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0b0786a5160" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data-Aware Orchestration with Apache Airflow Datasets]]></title>
            <link>https://medium.com/apache-airflow/data-aware-orchestration-with-apache-airflow-datasets-46ec8129ec37?source=rss-83f24ac0f87c------2</link>
            <guid isPermaLink="false">https://medium.com/p/46ec8129ec37</guid>
            <category><![CDATA[orchestration]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[use-cases]]></category>
            <category><![CDATA[data-awareness]]></category>
            <category><![CDATA[airflow]]></category>
            <dc:creator><![CDATA[Kenny Peeters]]></dc:creator>
            <pubDate>Fri, 19 Apr 2024 21:16:22 GMT</pubDate>
            <atom:updated>2026-08-14T11:48:24.121Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*7ugEBL3U6qCxwSTMC6z7og.png" /></figure><h3>Exploring: Data-Aware Orchestration with Apache Airflow Datasets</h3><p><em>Note: this is a revised version of the original article (updated August 2026) — reworked for accuracy, updated for Airflow 3.0, and lightly anonymized. The core story and approach are unchanged.</em></p><h3>Introduction</h3><p>Welcome to “<strong>Exploring: Dataset-aware Orchestration</strong>”, where we delve into the power of “<strong>Airflow Datasets</strong>”. In this post, I invite you to my journey throughout a development-need, and the expansive scope, that led to the following article.</p><p><em>Update: since Airflow 3.0, this concept has been renamed from Dataset to Asset (</em><em>airflow.sdk.Asset). The API changed slightly, the underlying idea did not. I&#39;ll note the naming difference below where it&#39;s relevant.</em></p><h3>Scope</h3><p>At one of the largest companies in Belgium, there arose a need to integrate data from various sources, including databases, XML files, GEO data, and more. These datasets were dispersed across different systems, requiring collaboration among teams to adopt a data mesh approach, consolidating data into a PostgreSQL database. As a member of this team, I was tasked with extracting data from two ERP systems stored on separate SAP HANA databases.</p><p>Recognizing the necessity for an orchestration tool, we chose “Apache Airflow” for its versatility. After initial brainstorming, we identified the need for a clear flow of different jobs, leading us to adopt “Data-aware Orchestration” with “Airflow Datasets.”</p><h3>Development process</h3><p>The development process is still in its initial phase, focusing on extracting data from various source systems into a source-aligned data product. This article primarily concentrates on one of the ERP systems involved in the project. The four tables I extracted had the following record counts at the time of writing:</p><ul><li>Table 1: ~3.1 million</li><li>Table 2: ~2.8 million</li><li>Table 3: ~6.3 million</li><li>Table 4: ~0.8 million</li></ul><p>Given the volume of records, we faced challenges during data loading. To address this, we decided to load data in chunks based on a provided chunk size and total record count. However, this approach presented additional challenges as chunks varied during data loading, risking duplicated or incomplete datasets.</p><p>To mitigate complexity in DAG definitions and troubleshoot difficulties, we opted to, maybe over-, split processes by creating dynamic DAGs. This approach allowed us to reuse configurations and Jinja query definitions, ensuring a manageable workflow.</p><p>These considerations led to the following approach in my development, as depicted in the Dataset graph visualization of one table.</p><p><strong>Note:</strong> The creation of loads is dynamic, and no hard-coded names were used; all were parameterized by configuration files.</p><p>The visualization illustrates a DAG named “load_to_HANA_ERP_ORDERS_STG” and a dataset labeled “HANA.ERP_ORDERS_STG”. The DAG initiates a load into a staging table on the SAP HANA database, triggering the subsequent DAG “load_to_Postgres_ERP_ORDERS_STG”.</p><p>This visualization shows us that, first of all, there is a load towards a staging table on the SAP HANA database so we had a fixed dataset for all subsequent loads. The dataset at the end of this load triggers DAG “load_to_Postgres_ERP_ORDERS_STG”.</p><p>DAG “load_to_Postgres_ERP_ORDERS_STG” also creates a staging table, this time in the PostgreSQL database, to mitigate risks to the final table used by consumers. A dataset triggers the subsequent load from the staging table to the final table, ready for consumption.</p><p>Details of the processes within these loads are beyond this scope. However, understanding how datasets function and are set up is crucial. If you’re intrigued by the potential of leveraging datasets for orchestrating your data workflows effectively, read on to discover the intricacies of setting up datasets in your Airflow environment.</p><p>Within the DAG design of “load_to_HANA_ERP_ORDERS_STG,” the SQLExecuteOperator, shown below, doesn’t automatically mark the outlet as ready; it is parameterized to do so. Future iterations may include additional operators for data quality checks before marking the outlet as ready.</p><p>To work with datasets, we need to import the “Dataset” module from airflow.datasets, which is needed once if you are working with one file to create dynamic DAGs for your flow.</p><pre>from airflow.datasets import Dataset</pre><pre>hana_stg_dataset = Dataset(&quot;hana://ERP_ORDERS_STG&quot;)</pre><p><em>(Airflow ≥ 3.0: </em><em>from airflow.sdk import Asset — same concept, new name.)</em></p><p>In the parameterization of the “transfer_to_table” task, an outlet is added to mark the dataset as ready.</p><pre>transfer_to_table = SQLExecuteQueryOperator(<br>    task_id=&quot;transfer_to_table&quot;,<br>    conn_id=&quot;hana_conn&quot;,<br>    sql=&quot;sql/load_to_staging.sql&quot;,<br>    outlets=[hana_stg_dataset],<br>)</pre><p>Upon successful completion of the load, the outlet is marked as ready, initiating the data transfer from the SAP HANA staging table to the PostgreSQL staging table.</p><p>The DAG parameters include scheduling options, among which the “schedule” option is essential for working with datasets prior version 2.9.</p><pre>with DAG(<br>    dag_id=&quot;load_to_Postgres_ERP_ORDERS_STG&quot;,<br>    schedule=[hana_stg_dataset],<br>    catchup=False,<br>) as dag:<br>    ...</pre><p><strong>Note:</strong> I have yet to explore the new exciting features introduced in Apache Airflow version 2.9. However, once I delve into them, I’ll be sure to share my experience. These enhancements promise greater flexibility in scheduling, offering a wider range of options to tailor orchestration according to specific needs.</p><p>As previously stated, I worked with four tables, each undergoing the same process. These specifications were not hardcoded but derived from the configuration of the loaded tables. The outcome of dynamically creating DAGs for these four tables is depicted in the dataset visualization within the Airflow UI.</p><p>Personally, I prefer to streamline the process by avoiding separate execution of the four tables in case of errors. To achieve this, I adopted the same dataset approach, enabling a single DAG to initiate my entire workflow.</p><h3>When does this pattern actually pay off?</h3><p>Data-aware orchestration made sense here because downstream DAGs depended on data being ready, not on a fixed point in time. If a pipeline’s timing is predictable and doesn’t depend on upstream duration or volume, a traditional schedule is simpler to reason about. Datasets earn their complexity when “ready” and “on time” aren’t the same thing.</p><h3>Final conclusion</h3><p>Datasets offer a functional approach to pipelining in Airflow. The success or failure of a preceding job triggers subsequent jobs with their set of tasks, ensuring a seamless workflow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46ec8129ec37" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apache-airflow/data-aware-orchestration-with-apache-airflow-datasets-46ec8129ec37">Data-Aware Orchestration with Apache Airflow Datasets</a> was originally published in <a href="https://medium.com/apache-airflow">Apache Airflow</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>