QuestionQ52

Verified

You want to run and test the models, tests, and snapshots that you have added or modified in development.

What will you invoke? Choose 1 option.

Explanation

dbt build runs selected models, tests, and snapshots in dependency order. The state:modified selector identifies new or changed resources against the manifest supplied through --state; --defer can resolve unselected upstream references to the comparison environment when they are not available in development. (docs.getdbt.com)

The selector must be written as state:modified, without a space after the colon. Without that correction, none of the choices is a valid invocation as written.

Learn more

Community Discussion

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