Skip to content
Open
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
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config-version: 2

name: 'mailchimp'
version: '0.6.0'
version: '0.7.0'

require-dbt-version: [">=1.0.0", "<2.0.0"]

Expand Down
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/run_results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config-version: 2

name: 'mailchimp_integration_tests'
version: '0.5.0'
version: '0.7.0'

profile: 'integration_tests'

Expand Down
1 change: 1 addition & 0 deletions integration_tests/seeds/list.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
id,_fivetran_deleted,_fivetran_synced,beamer_address,contact_address_1,contact_address_2,contact_city,contact_company,contact_country,contact_state,contact_zip,date_created,default_from_email,default_from_name,default_language,default_subject,email_type_option,list_rating,name,notify_on_subscribe,notify_on_unsubscribe,permission_reminder,subscribe_url_long,subscribe_url_short,use_archive_bar,visibility
8e423a4179,false,2020-04-23 11:40:05.594,us20-09b84dc149-f4c9468513@inbound.mailchimp.com,87 Hogwarts Avenue,,London,Example Company,UK,London,M5S1K1,2019-10-01 21:39:58,bob@example.com,Bob,en,,false,0.0,Example Company,,,You are receiving this email because you opted in via our website.,https://dev.us20.list-manage.com/subscribe?u=ca09e4761ebff536235e260&id=8e423a4179,http://eepurl.com/gITsH5,true,pub
57423a4179,false,2020-04-23 11:40:05.594,us20-09b84dc149-f4c9468513@inbound.mailchimp.com,87 Hogwarts Avenue,,London,Example Company,UK,London,M5S1K1,2019-10-01 21:39:58,bob@example.com,Bob,en,,false,0.0,Example Company,,,You are receiving this email because you opted in via our website.,https://dev.us20.list-manage.com/subscribe?u=ca09e4761ebff536235e260&id=8e423a4179,http://eepurl.com/gITsH5,true,pub
2 changes: 2 additions & 0 deletions integration_tests/seeds/member.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ id,list_id,_fivetran_synced,country_code,dstoff,email_address,email_client,email
b2ac489697c655e85db6dfedc5c2fee5,8e423a4179,2020-04-14 21:27:39.423,US,0.0,mary@example.com,Gmail,html,0.0,104.244.24.68,104.244.24.68,en,2019-11-26 23:58:17,37.7482,-122.416,3,Mary,,subscribed,2019-11-06 21:35:22,2019-11-06 21:34:58,415/628,b6a9ddfb47,false
f5114e6e6bb39e07781d2f51f409a7fe,8e423a4179,2020-04-14 21:27:39.638,US,0.0,ralph@example.com,Gmail,html,0.0,107.77.211.18,107.77.211.18,en,2019-11-27 00:00:37,37.6343,-122.063,4,Ralph,,subscribed,2019-11-07 18:39:11,2019-11-07 18:38:51,510,3118fb623a,false
37cc8cad6a75f018d69632984d8caf38,8e423a4179,2020-04-14 21:27:39.639,US,0.0,ben@example.com,Apple Mail,html,0.0,198.178.12.68,67.245.32.119,en,2019-11-08 13:10:10,40.7553,-73.992,4,Ben,,subscribed,2019-11-08 13:10:10,2019-11-08 11:27:04,212/332/646/917,6f9d527f62,false
57cc8cad6a75f018d69632984d8caf38,57423a4179,2020-04-14 21:27:39.639,US,0.0,tee@example.com,Apple Mail,html,0.0,198.178.12.68,67.245.32.119,en,2019-11-08 13:10:10,40.7553,-73.992,4,Tee,,subscribed,2019-11-08 13:10:10,2019-11-08 11:27:04,212/332/646/917,6f9d527f62,false
37cc8cad6a75f018d69632984d8caf38,57423a4179,2020-04-14 21:27:39.639,US,0.0,ben@example.com,Apple Mail,html,0.0,198.178.12.68,67.245.32.119,en,2019-11-08 13:10:10,40.7553,-73.992,4,Ben,,subscribed,2019-11-08 13:10:10,2019-11-08 11:27:04,212/332/646/917,6f9d527f62,false
7 changes: 5 additions & 2 deletions models/mailchimp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,15 @@ models:
- name: mailchimp__members
description: Each record represents a member in Mailchimp, enriched with campaign metrics and (optionally) automation metrics.
columns:
- name: member_id
description: The ID of the member.
- name: list_member_id
description: The ID of each record, from combining member id and list id.
tests:
- unique
- not_null

- name: member_id
description: The ID of the member.

- name: email_address
description: Email address for a subscriber.

Expand Down
7 changes: 5 additions & 2 deletions packages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
packages:
- package: fivetran/mailchimp_source
version: [">=0.3.0", "<0.4.0"]
# - package: fivetran/mailchimp_source
# version: [">=0.3.0", "<0.4.0"]
Comment on lines +2 to +3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obligatory reminder to update this before we merge 😄

- git: https://github.com/fivetran/dbt_mailchimp_source.git
revision: bug/unique_tests
warn-unpinned: false