Solution: Targets, Tests, and Documentation
Get a detailed review of the solution to the “Targets, Tests, and Documentation” challenge.
We'll cover the following...
Solution
Let’s review the solution to the problem.
{% macro manage_view() %} ALTER VIEW {{ this }} SET OPTIONS (labels = [('managed_by', 'dbt')]); {% endmacro %}
Solution code: Targeting, testing, and documenting
Code explanation
In the schema.yml
file: ...