





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Which is the right order in which dbt prioritizes configurations Correct Answer-in-file config() block > takes priority over properties defined in a .yml file > takes priority over config defined in the project file Choose two valid snapshot strategies in dbt Correct Answer-check and timestamp Which is a task which is achieved by ref function Correct Answer- automatically build the dependency graph Given the following model code: Select col_1, col_2 From {{ ref('model_a') }} While running dbt run, following error occurred: table does not exist What is the most likely error (Choose 2) Correct Answer-wrong database or schema and not enough permissions Given the snapshot config, how check_cols will be used {{ config( target_schema='history', target_database='analytics', strategy='timestamp', unique_key='id',
updated_at='updated_at', check_cols=["col_1", "col_2"]) }} Correct Answer-check_cols will be ignored Which 2 are valid property for Metrics Correct Answer- calculation_method and meta Arrange resolution of environment variables in dbt from least preceedence to highest preceedence
And following config are defined in events/base/model_a.sql {{ config( schema=base) }} While running dbt run events/base/model_a.sql as issue occurred: "Object Not Found or Permission Denied". What is the most likely reason (Assume the system is set up such that if a custom schema is provided, a model's schema name should match the custom schema) Correct Answer-a. No write access on schema "base"
An error was raised during compile time. Identify the error: Correct Answer-a. tests is not a list property - as in, it should not have the - before it
...models: project_a: +materialized: "{{ env_var('DBT_MATERIALIZATION', 'table') }}" Correct Answer- a. yes