mirror of
https://github.com/dbt-labs/dbt-project-evaluator.git
synced 2025-12-18 02:11:27 +00:00
Merge pull request #516 from dbt-labs/dbx-test-fixes
make the list-agg columns conditionally tested
This commit is contained in:
@@ -8,7 +8,7 @@ seeds:
|
||||
compare_model: ref('fct_multiple_sources_joined')
|
||||
compare_columns:
|
||||
- child
|
||||
- source_parents
|
||||
- "{{ 'source_parents' if target.type != 'databricks' else 'child' }}"
|
||||
|
||||
- name: test_fct_direct_join_to_source
|
||||
tests:
|
||||
@@ -49,7 +49,7 @@ seeds:
|
||||
compare_model: ref('fct_source_fanout')
|
||||
compare_columns:
|
||||
- parent
|
||||
- model_children
|
||||
- "{{ 'model_children' if target.type != 'databricks' else 'parent' }}"
|
||||
|
||||
- name: test_fct_model_fanout
|
||||
tests:
|
||||
@@ -59,7 +59,7 @@ seeds:
|
||||
compare_columns:
|
||||
- parent
|
||||
- parent_model_type
|
||||
- leaf_children
|
||||
- "{{ 'leaf_children' if target.type != 'databricks' else 'parent_model_type' }}"
|
||||
|
||||
- name: test_fct_staging_dependent_on_staging
|
||||
tests:
|
||||
|
||||
@@ -18,7 +18,7 @@ seeds:
|
||||
compare_columns:
|
||||
- resource_name
|
||||
- model_type
|
||||
- appropriate_prefixes
|
||||
- "{{ 'appropriate_prefixes' if target.type != 'databricks' else 'model_type' }}"
|
||||
- name: test_fct_source_directories
|
||||
tests:
|
||||
- dbt_utils.equality:
|
||||
|
||||
Reference in New Issue
Block a user