QuestionQ62

Verified

Which two mechanisms let dbt write DRY code by reusing logic and avoiding writing the same code multiple times? Choose 2 options.

Choose two
Explanation

dbt macros encapsulate logic that can be called repeatedly, while dbt packages make existing macros, models, and other resources available for reuse in a project. Changing a model from a view to ephemeral changes how it is materialized; it is not necessary to make the model reusable. (docs.getdbt.com)

Learn more

Community Discussion

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