How to setup dbt UI for data lineage?
Asked Answered
L

1

14

I'm new to the dbt and I'm planning to use dbt cli. One question is how to setup the dbt ui and have such a data lineage graph? I didn't find how to do it here with cli https://docs.getdbt.com/tutorial/create-a-project-dbt-cli.

enter image description here

Lower answered 13/10, 2021 at 5:43 Comment(0)
V
19

dbt docs might be what you're looking for?

You need to first generate the docs using:

dbt docs generate

Then, serve them:

dbt docs serve

You'll find that the docs are served locally. Once you open the link in a browser you can see the lineage at the bottom right like so:

enter image description here

There is more detail here: https://docs.getdbt.com/reference/commands/cmd-docs

Valuate answered 13/10, 2021 at 5:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.