Nothing stays buried.¶
Every dependency leaves a trail.¶
GraveTrail helps data engineers, analysts and architects understand SQL, SAS and dbt projects. Turn source code and supported project artifacts into explorable lineage, dependency relationships and the source evidence behind them.
Build your first lineage Explore a live example Visit repository Leave a star
Local static analysis. No AI account required. Imported code is never executed.
Watch SQL turn into lineage¶
pub.all_kpis. Expand stg.orders_clean to see its incoming column links, then trace amount in Columns and open the SQL expression that casts it.Begin with the question in front of you¶
Start here when you inherit a pipeline or need to understand what a change could affect. GraveTrail traces dependencies from the project files you already have.
Where does this table come from?¶
Explore inputs across persistent tables and supported temporary steps. Open the original statement and line range to understand the relationship. Expand a table to see its output columns and the direct column links to its neighbors.
What depends on this change?¶
Follow consumers and trace a column through its transformations. The graph links column rows across steps. Select a card or link to inspect the relevant logic.
What is hiding in this dbt project?¶
Inspect models, versions, sources and macro consumers. Supplied manifests can add declared dependencies and compiled SQL evidence without executing dbt.
Design lineage before implementation¶
Open Workspace → Lineage builder in the app to define table schemas and build an interactive diagram. Add tables to a canvas catalog, connect columns and joins, trace downstream paths with colors, and save or transfer an editable design. Clearing a canvas preserves workspace schemas.
Use the lineage builder and canvas
Local analysis first. AI when you choose.¶
Static analysis runs locally after installation without an API key, AI account or paid model service. Large projects can use it too. Unsupported syntax and runtime-dependent behavior remain visible coverage boundaries.
Optional AI independently extracts inferred lineage from selected files. It sends source and authorized context to the configured provider. A locally addressed gateway can forward requests upstream. AI does not guarantee complete or correct lineage.
Understand analysis and disclosure Configure optional AI
How confidence and coverage work
Choose your project¶
| Project | Start with | Know the boundary |
|---|---|---|
| SQL | SQL workflow | Dialect-specific syntax, dynamic SQL and unknown schema |
| SAS | SAS workflow | Static macro and generated-code examples |
| dbt | dbt workflow | Source/enriched/artifact modes; no Jinja, package download or warehouse execution |
A useful first run, on your machine.¶
Use the pinned installation to reproduce the controls and examples shown here.
- Install and launch.
- Run the bundled SQL example or import a sample ZIP.
- Inspect evidence and review coverage.
- Export and reopen findings.
A place for every part of your work¶
Follow the evidence, including its limits
A graph describes established analysis relationships, not observed warehouse execution. Missing edges can mean missing coverage. Installation, optional AI, local static analysis and HTML exports have different network boundaries.