Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilias1111 committed Sep 18, 2024
1 parent 6744b5a commit f14bc8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ models:
+enabled: '{{ target.type == "snowflake" | as_bool() }}'
snowplow_media_player:
+persist_docs:
relation: '{{ false if target.type in ["spark"] else true }}'
columns: '{{ false if target.type in ["spark"] else true }}'
relation: '{{ false if target.type in ["spark","databrick"] else true }}'
columns: '{{ false if target.type in ["spark","databrick"] else true }}'
custom:
+enabled: true

Expand Down
1 change: 1 addition & 0 deletions models/base/src_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 2
sources:
- name: atomic
schema: "{{ var('snowplow__atomic_schema', 'atomic') if project_name != 'snowplow_media_player_integration_tests' else target.schema~'_snplw_media_player_int_tests' }}"
database: "{{ var('snowplow__database', target.database) if target.type not in ['databricks', 'spark'] else var('snowplow__databricks_catalog', 'hive_metastore') if target.type in ['databricks'] else none }}"
tables:
- name: events
identifier: "{{ var('snowplow__events_table', 'events') if project_name != 'snowplow_media_player_integration_tests' else 'snowplow_media_player_events_stg' }}"
Expand Down

0 comments on commit f14bc8e

Please sign in to comment.