Closed samanax closed 1 year ago
Describe the bug Using the following model to copy data from raw tables to staging:
{%- set yaml_metadata -%} source_model: 'raw_account' {%- endset -%} {% set metadata_dict = fromyaml(yaml_metadata) %} {% set source_model = metadata_dict['source_model'] %} {{ dbtvault.stage(include_source_columns=true, source_model=source_model, derived_columns=derived_columns, hashed_columns=hashed_columns, ranked_columns=none) }}
Instead of having rows from the raw_table, it copies the name of the columns as data for the rows.
Environment
dbt version: 1.4.1 dbtvault version: 0.8.3 Database/Platform: Databricks 1.4.1
and also
dbt version: 1.3.2 dbtvault version: 0.8.3 Database/Platform: Databricks 1.3.2
To Reproduce Steps to reproduce the behavior:
Expected behavior The data should be copied from the raw table to the destination view or table as is in the raw table.
Screenshots The stage view with wrong data:
The data in the raw table:
Log files If applicable, provide dbt log files which include the problem.
Additional context Add any other context about the problem here.
Closing as this was due to using an old version of dbtvault. Fixed after 0.84.
Describe the bug Using the following model to copy data from raw tables to staging:
Instead of having rows from the raw_table, it copies the name of the columns as data for the rows.
Environment
dbt version: 1.4.1 dbtvault version: 0.8.3 Database/Platform: Databricks 1.4.1
and also
dbt version: 1.3.2 dbtvault version: 0.8.3 Database/Platform: Databricks 1.3.2
To Reproduce Steps to reproduce the behavior:
Expected behavior The data should be copied from the raw table to the destination view or table as is in the raw table.
Screenshots The stage view with wrong data:
The data in the raw table:
Log files If applicable, provide dbt log files which include the problem.
Additional context Add any other context about the problem here.