QuestionQ22

Verified

Your entire DAG is shown in the image.

Question Image

(Several stg_ models appear upstream, feeding into int_ and fct_ models.)

The question is:

“Was this modeling rule violated?

Staging models dependent on other staging models”

Explanation

stg_line_items depends on stg_tpch_line_items, so one staging model depends on another. This violates the stated modeling rule. dbt’s staging guidance describes staging models as the entry points for source tables. (docs.getdbt.com)

Learn more

Community Discussion

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