-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/calculate-sql-complexity
- Loading branch information
Showing
32 changed files
with
162 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
models: | ||
- name: int_model_5 | ||
latest_version: 2 | ||
versions: | ||
- v: 1 | ||
deprecation_date: 2024-01-01 | ||
- v: 2 | ||
deprecation_date: 2029-01-01 | ||
- v: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
select 1 as id |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
select 1 as id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
integration_tests/seeds/dag/test_fct_rejoining_of_upstream_concepts.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
parent,child,parent_and_child,is_loop_independent | ||
stg_model_1,int_model_5,int_model_4,true | ||
stg_model_1,int_model_5.v2,int_model_4,true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
child | ||
int_model_5.v1 | ||
int_model_5.v3 | ||
model_8 |
2 changes: 1 addition & 1 deletion
2
integration_tests/seeds/docs/test_fct_documentation_coverage.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
total_models,documented_models,documentation_coverage_pct,staging_documentation_coverage_pct,intermediate_documentation_coverage_pct,marts_documentation_coverage_pct,other_documentation_coverage_pct | ||
16,4,25,20.00,0.00,0.00,75.00 | ||
18,4,22.22,20.00,0.00,0.00,75.00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
integration_tests/seeds/performance/test_fct_chained_views_dependencies.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,2 @@ | ||
parent,child,distance | ||
stg_model_1,dim_model_7,3 | ||
stg_model_1,int_model_5,2 | ||
stg_model_2,dim_model_7,2 | ||
int_model_4,dim_model_7,2 | ||
stg_model_1,dim_model_7,2 | ||
stg_model_4,dim_model_7,1 | ||
stg_model_2,stg_model_4,1 | ||
int_model_4,int_model_5,1 | ||
int_model_5,dim_model_7,1 | ||
stg_model_1,int_model_5,1 | ||
stg_model_1,int_model_4,1 | ||
fct_model_9,stg_model_5,1 | ||
stg_model_3,fct_model_6,1 | ||
stg_model_1,fct_model_10,1 | ||
stg_model_2,fct_model_10,1 | ||
stg_model_3,fct_model_10,1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
total_models,total_tests,tested_models,test_coverage_pct,staging_test_coverage_pct,intermediate_test_coverage_pct,marts_test_coverage_pct,other_test_coverage_pct,test_to_model_ratio | ||
16,13,6,37.50,80.00,50.00,0.00,25.00,0.8125 | ||
18,13,6,33.33,80.00,25.00,0.00,25.00,0.7222 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{%- macro type_large_string() -%} | ||
{{ return(adapter.dispatch('type_large_string', 'dbt_project_evaluator')()) }} | ||
{%- endmacro -%} | ||
|
||
{%- macro default__type_large_string() -%} | ||
{{ return(dbt.type_string()) }} | ||
{%- endmacro -%} | ||
|
||
{%- macro redshift__type_large_string() -%} | ||
varchar(5000) | ||
{%- endmacro -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
{% macro wrap_string_with_quotes(str) %} | ||
{% if not str %} | ||
{% if str is none %} | ||
{{ return('cast(NULL as ' ~ dbt.type_string() ~ ')') }} | ||
{% else %} | ||
{{ return("'" ~ str ~ "'") }} | ||
{{ dbt.string_literal(str) }} | ||
{% endif %} | ||
{% endmacro %} | ||
|
||
{# | ||
To be removed when https://github.com/dbt-labs/dbt-bigquery/pull/1089 is merged | ||
#} | ||
{% macro bigquery__string_literal(value) -%} | ||
'''{{ value }}''' | ||
{%- endmacro %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.