Complete the code to define a doc block named 'customer_desc'.
docs: [1]: description: "Description for customer table."
The doc block name is defined under docs: with the key customer_desc.
Complete the code to reference the doc block 'customer_desc' in a model's description.
models:
customer:
description: '{{{{ doc([1]) }}}}'When referencing a doc block in dbt, use doc(name) without quotes around the name inside the parentheses.
Fix the error in the doc block definition by completing the missing key.
docs:
customer_desc:
[1]: "Description for customer table."The correct key for doc block text is description.
Fill both blanks to create a reusable doc block and reference it in a model.
docs: [1]: description: "Reusable description for orders." models: orders: description: '{{{{ doc([2]) }}}}'
The doc block is named orders_desc and referenced by the same name in the model description.
Fill all three blanks to define two doc blocks and reference one in a model.
docs: [1]: description: "Description for customers." [2]: description: "Description for products." models: products: description: '{{{{ doc([3]) }}}}'
The two doc blocks are customer_desc and product_desc. The model references product_desc.