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

Disable freshness tests for disabled source tables #43

Merged
merged 3 commits into from
Jun 15, 2021
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
target/
dbt_modules/
logs/
.DS_Store
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'hubspot_source'
version: '0.3.2'
version: '0.3.3'
config-version: 2
require-dbt-version: [">=0.18.0", "<0.20.0"]

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

name: 'hubspot_source_integration_tests'
version: '0.3.2'
version: '0.3.3'
profile: 'integration_tests'
config-version: 2

Expand Down
7 changes: 6 additions & 1 deletion models/src_hubspot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ sources:
warn_after: {count: 84, period: hour}
error_after: {count: 168, period: hour}
description: Each record represents a contact in Hubspot.
meta:
is_enabled: "{{ var('hubspot_marketing_enabled', true) }} and {{ var('hubspot_contact_enabled', true) }}"
columns:
- name: id
description: The ID of the contact.
Expand Down Expand Up @@ -259,7 +261,6 @@ sources:

- name: contact_list_member
description: Each record represents a 'link' between a contact and a contact list.

columns:
- name: _fivetran_deleted
description: '{{ doc("_fivetran_deleted") }}'
Expand All @@ -281,6 +282,8 @@ sources:
warn_after: {count: 84, period: hour}
error_after: {count: 168, period: hour}
description: Each record represents a change to contact record in Hubspot.
meta:
is_enabled: "{{ var('hubspot_marketing_enabled', true) }} and {{ var('hubspot_contact_property_enabled', true) }}"
columns:
- name: _fivetran_synced
description: '{{ doc("_fivetran_synced") }}'
Expand Down Expand Up @@ -501,6 +504,8 @@ sources:
warn_after: {count: 84, period: hour}
error_after: {count: 168, period: hour}
description: Each record represents an email event in Hubspot.
meta:
is_enabled: "{{ var('hubspot_email_event_enabled', true) }} and {{ var('hubspot_marketing_enabled', true) }}"
columns:
- name: _fivetran_synced
description: '{{ doc("_fivetran_synced") }}'
Expand Down