Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the list-agg columns conditionally tested #516

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions integration_tests/seeds/dag/dag_seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/seeds/structure/structure_seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down