← All projects
Project record1 mention
Originally shared on Hacker News

tff

tff is a tool that applies fitness functions to data transformation (dbt) projects, checking layer boundary integrity, detecting duplicate CTE logic, and catching violations locally and in CI. It includes a GitHub bot that can be plugged into a CI pipeline.

Last shared
01 / The problem

What it addresses

Managing data transformation (e.g. dbt) projects at scale can be challenging: DAG violations, that one model that grew to 2K lines, duplicated logic.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. tff

    tff is a tool that applies fitness functions to data transformation (dbt) projects, checking layer boundary integrity, detecting duplicate CTE logic, and catching violations locally and in CI. It includes a GitHub bot that can be plugged into a CI pipeline.

    Problem: Managing data transformation (e.g. dbt) projects at scale can be challenging: DAG violations, that one model that grew to 2K lines, duplicated logic.

    Posted by @bartschuijt · Original source ↗

    Story title · @bartschuijt · · Source ↗

    Show HN: Fitness Functions for Dbt Projects

    Submitted URL · @bartschuijt · · Source ↗

    https://github.com/tjirab/tff

    Source text · @bartschuijt · · Source ↗

    Managing data transformation (e.g. dbt) projects at scale can be challenging: DAG violations, that one model that grew to 2K lines, duplicated logic.

    Source text · @bartschuijt · · Source ↗

    Inspired by the book 'Building Evolutionary Architectures' I built tff to help data transformation projects evolve in a desired direction. It comes with a github bot that you can plugin to your CI pipeline.

    Source text · @bartschuijt · · Source ↗

    * ensuring layer boundary integrity; * detect duplicate CTE logic; * catch violations locally and in CI

    Source text · @bartschuijt · · Source ↗

    In CI you can configure the bot to do the same: https://tff.readthedocs.io/en/latest/ci_cd/?h=only#1-crucial-distinction-gating-vs-score-diffing.