dbt - Jinja in dbt
You want to log the current model name and the target database in a dbt model using Jinja. Which snippet correctly uses built-in context variables to achieve this?
this.name gives the current model name; target.database gives the target database.~ concatenates strings in Jinja; log is called correctly with the message.this.name and target.database for model and DB [OK]this.name for model and target.database for DB [OK]this and target propertiesinvocation_id for model name15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions