We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ef7a69 + 21ce1da commit 3df4c79Copy full SHA for 3df4c79
2 files changed
integration_tests/models/staging/source_1/source.yml
@@ -8,6 +8,9 @@ sources:
8
tables:
9
- name: table_1
10
description: this is table 1.
11
+ columns:
12
+ - name: my_column
13
+ description: description for my source column
14
- name: table_2
15
- name: table_4
16
- name: table_5
models/staging/graph/base/base_source_columns.sql
@@ -18,6 +18,9 @@ select
18
cast(null as {{ dbt.type_string()}}) as name,
19
cast(null as {{ dbt_project_evaluator.type_large_string()}}) as description,
20
cast(null as {{ dbt.type_string()}}) as data_type,
21
+ cast(null as {{ dbt.type_string()}}) as constraints,
22
+ cast(True as boolean) as has_not_null_constraint,
23
+ cast(0 as {{ dbt.type_int() }}) as constraints_count,
24
cast(null as {{ dbt.type_string()}}) as quote
25
26
from dummy_cte
0 commit comments