You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For non-table materialized models, the generate_model_yaml method does not generate columns description.
Steps to reproduce
Write an intermediary model of type materialized_view:
-- models/int_orders.sql{{ config(materialized='view' -- Specifies that this model should be materialized as a view) }}WITH orders AS (SELECTcustomer_id,order_id,order_date,order_status,total_amountFROM {{ ref('raw_orders') }} -- Reference a raw source table)SELECT *FROM orders
daviibf
changed the title
generate_model_yaml function is writing columns description only for table materializations
The generate_model_yaml function is only writing column descriptions for tables with table materializations.
Jan 23, 2025
daviibf
changed the title
The generate_model_yaml function is only writing column descriptions for tables with table materializations.
The generate_model_yaml function is only writing column descriptions for tables with table materializations
Jan 23, 2025
Wanted to chime in and say that I'm also experiencing this issue using BigQuery and materialized as anything but table (in this schema or any dependent schema)
Describe the bug
For non-table materialized models, the
generate_model_yaml
method does not generate columns description.Steps to reproduce
materialized_view
:generate_model_yaml
for this model.Actual results
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
Apple M3 Pro
The output of
python --version
:Python 3.11.9
The text was updated successfully, but these errors were encountered: