Mailchimp Migration Guide
Upgrading to 2.0.0
Version 2.0.0 introduces changes in primary key for streams Segment Members and List Members.
Migration Steps
Refresh affected schemas and reset data
- Select Connections in the main nav bar.
- Select the connection(s) affected by the update.
- Select the Replication tab.
- Select Refresh source schema.
- Select OK.
Any detected schema changes will be listed for your review.
- Select Save changes at the bottom of the page.
- Ensure the Reset affected streams option is checked.
Depending on destination type you may not be prompted to reset your data.
- Select Save connection.
This will reset the data in your destination and initiate a fresh sync.
For more information on resetting your data in Airbyte, see this page.
Upgrading to 1.0.0
Version 1.0.0 of the Source Mailchimp connector introduces a number of breaking changes to the schemas of all incremental streams. A full schema refresh and data reset are required when upgrading to this version.
Upgrade steps
- Select Connections in the main navbar.
- From the list of your existing connections, select the connection(s) affected by the update.
- Select the Replication tab, then select Refresh source schema.
Any detected schema changes will be listed for your review. Select OK when you are ready to proceed.
- At the bottom of the page, select Save changes. Ensure the Reset all streams option is checked.
Depending on the destination type, you may not be prompted to reset your data
- Select Save connection. This will reset the data in your destination (if applicable) and initiate a fresh sync.
Changes
- The
._linksfield, which contained non-user-relevant Mailchimp metadata, has been removed from all streams. - All instances of datetime fields have had their type changed from
stringto airbyte-typetimestamp-with-timezone. This change should ensure greater precision and consistency in how datetime information is represented and processed by destinations. - The Mailchimp API returns many fields without data as empty strings. To accomodate the above changes, empty strings are now converted to null values:
{"id": "record_id", "last_opened": ""} -> {"id": "record_id", "last_opened": null}
Updated datetime fields
-
Automations:
create_timesend_time
-
Campaigns:
create_timesend_timerss_opts.last_sentab_split_opts.send_time_aab_split_opts.send_time_bvariate_settings.send_times(Array of datetime fields)
-
Email Activity:
timestamp
-
List Members:
timestamp_signuptimestamp_optlast_changedcreated_at
-
Lists:
date_createdstats.campaign_last_sentstats.last_sub_datestats.last_unsub_date
-
Reports:
send_timerss_last_sendopens.last_openclicks.last_clickab_split.a.last_openab_split.b.last_opentimewarp.last_opentimeseries.timestamp
-
Segment Members:
timestamp_signuptimestamp_optlast_changedlast_note.created_at
-
Segments:
created_atupdated_at
-
Unsubscribes:
timestamp