Skip to content

Commit

Permalink
Merge pull request #468 from dbt-labs/fix/load-source-coluimn-desc
Browse files Browse the repository at this point in the history
  • Loading branch information
b-per authored Jul 1, 2024
2 parents 6ef7a69 + 21ce1da commit 3df4c79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration_tests/models/staging/source_1/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ sources:
tables:
- name: table_1
description: this is table 1.
columns:
- name: my_column
description: description for my source column
- name: table_2
- name: table_4
- name: table_5
Expand Down
3 changes: 3 additions & 0 deletions models/staging/graph/base/base_source_columns.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ select
cast(null as {{ dbt.type_string()}}) as name,
cast(null as {{ dbt_project_evaluator.type_large_string()}}) as description,
cast(null as {{ dbt.type_string()}}) as data_type,
cast(null as {{ dbt.type_string()}}) as constraints,
cast(True as boolean) as has_not_null_constraint,
cast(0 as {{ dbt.type_int() }}) as constraints_count,
cast(null as {{ dbt.type_string()}}) as quote

from dummy_cte
Expand Down

0 comments on commit 3df4c79

Please sign in to comment.