Skip to content

Commit

Permalink
Merge pull request #516 from dbt-labs/dbx-test-fixes
Browse files Browse the repository at this point in the history
make the list-agg columns conditionally tested
  • Loading branch information
dave-connors-3 authored Dec 5, 2024
2 parents 9a70f9a + 087d60d commit c6d9c26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit c6d9c26

Please sign in to comment.