QuestionQ32

Verified

Which two code snippets cause a lineage line to appear in the DAG? Choose 2 options.

Choose two
Explanation

The source() and ref() functions create dependencies between a model and its referenced source or model, producing lineage in the DAG. The referenced resources must exist in the project. A hard-coded relation or target.schema does not register a dependency, and source() requires separate source-name and table-name arguments. (docs.getdbt.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!