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

document default LEAD columns #32

Merged
merged 6 commits into from
Mar 20, 2024
Merged

Conversation

fivetran-jamie
Copy link
Contributor

@fivetran-jamie fivetran-jamie commented Feb 29, 2024

PR Overview

This PR will address the following Issue/Feature:
fivetran/dbt_marketo_source#35

This PR will result in the following new package version:

v0.11.0 -- we are aliasing fields that existed but were not aliased before

Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:

PR Checklist

Basic Validation

Please acknowledge that you have successfully performed the following commands locally:

  • dbt compile
  • dbt run –full-refresh
  • dbt run
  • dbt test
  • dbt run –vars (if applicable)

Before marking this PR as "ready for review" the following have been applied:

  • The appropriate issue has been linked and tagged
  • You are assigned to the corresponding issue and this PR
  • BuildKite integration tests are passing

Detailed Validation

Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":

  • You have validated these changes and assure this PR will address the respective Issue/Feature.
  • You are reasonably confident these changes will not impact any other components of this package or any dependent packages.
  • You have provided details below around the validation steps performed to gain confidence in these changes.

see hex linked in height

Standard Updates

Please acknowledge that your PR contains the following standard updates:

  • Package versioning has been appropriately indexed in the following locations:
    • indexed within dbt_project.yml
    • indexed within integration_tests/dbt_project.yml
  • CHANGELOG has individual entries for each respective change in this PR
  • README updates have been applied (if applicable)
  • DECISIONLOG updates have been updated (if applicable)
  • Appropriate yml documentation has been added (if applicable)

dbt Docs

Please acknowledge that after the above were all completed the below were applied to your branch:

  • docs were regenerated (unless this PR does not include any code or yml updates)

If you had to summarize this PR in an emoji, which would it be?

🍳

Copy link
Contributor

@fivetran-joemarkiewicz fivetran-joemarkiewicz left a comment

Choose a reason for hiding this comment

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

LGTM

packages.yml Outdated
Comment on lines 2 to 7
# - package: fivetran/marketo_source
# version: [">=0.11.0", "<0.12.0"]
# - local: ../../Marketing/Marketo/dbt_marketo_source
- git: https:/fivetran/dbt_marketo_source.git
revision: update/customer360
warn-unpinned: false
Copy link
Contributor

Choose a reason for hiding this comment

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

Reminder to swap before release

Copy link
Contributor

@fivetran-catfritz fivetran-catfritz left a comment

Choose a reason for hiding this comment

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

One small change and a question!

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated
[PR #32](https:/fivetran/dbt_marketo/pull/32) and Marketo Source [PR #35](https:/fivetran/dbt_marketo_source/pull/35) include the following updates:

## Feature Updates (includes potentially 🚨 breaking changes 🚨)
- Ensures that `stg_marketo__lead` (and therefore `marketo__leads`) has and documents the below columns, all [standard](https://developers.marketo.com/rest-api/lead-database/fields/list-of-standard-fields/) fields from Marketo. Previously, peristed all fields found in your `LEAD` source table but only _ensured_ that the `id`, `created_at`, `updated_at`, `email`, `first_name`, `last_name`, and `_fivetran_synced` fields were included. If your `LEAD` table contains the following fields, nothing will change for you. If any of the following default columns are missing from your `LEAD` table, `stg_marketo__lead` will create a NULL version with the proper data type:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm wondering does this bit:

  • unsubscribed -> aliased as is_unsubscribed (🚨 breaking change 🚨)
  • email_invalid -> aliased as is_email_invalid (🚨 breaking change 🚨)

make this bit not be entirely true?:

If your LEAD table contains the following fields, nothing will change for you.

Would their columns get renamed?

@@ -89,7 +89,7 @@ vars:
marketo__activity_delete_lead_enabled: false # Disable if you do not have the activity_delete_lead table
```
## (Optional) Step 5: Additional configurations
<details><summary>Expand for details</summary>
<details open><summary>Expand/Collapse details</summary>
Copy link
Contributor

Choose a reason for hiding this comment

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

Ohh this is cool!

fivetran-jamie and others added 2 commits March 6, 2024 08:53
Co-authored-by: fivetran-catfritz <[email protected]>
Copy link
Contributor

@fivetran-catfritz fivetran-catfritz left a comment

Choose a reason for hiding this comment

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

lgtm for batching with the next update!

@fivetran-catfritz fivetran-catfritz changed the base branch from main to release/v0.11.0 March 19, 2024 17:08
@fivetran-catfritz fivetran-catfritz merged commit 504ae08 into release/v0.11.0 Mar 20, 2024
2 of 8 checks passed
fivetran-catfritz added a commit that referenced this pull request Apr 2, 2024
* document default LEAD columns (#32)

* changes

* docs

* changelog

* update source package ref

* Update CHANGELOG.md

Co-authored-by: fivetran-catfritz <[email protected]>

* changelog

---------

Co-authored-by: fivetran-catfritz <[email protected]>

* Bug/databricks syntax (#33)

* changes

* docs

* changelog

* update source package ref

* Update CHANGELOG.md

Co-authored-by: fivetran-catfritz <[email protected]>

* changelog

* bug/databricks-syntax

* update pkg

* update cte

* remove ignore nulls

* updates

* updates & regen docs

* update yml

---------

Co-authored-by: Jamie Rodriguez <[email protected]>

* Update packages.yml

---------

Co-authored-by: Jamie Rodriguez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants