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

Feature: Union schema compatibility #30

Merged
merged 14 commits into from
Oct 12, 2023

Conversation

fivetran-catfritz
Copy link
Contributor

@fivetran-catfritz fivetran-catfritz commented Sep 1, 2023

Issue: #29

Confirm the following files were correctly updated automatically:

  • CHANGELOG
  • README
  • stg_pinterest_ads.yml, src_pinterest_ads.yml, pinterest_ads.yml (depending if source or transform)
  • docs.md
  • joins
  • window functions (partition by)
  • 'source_relation' column added in staging and transform models
  • tests

Manual updates:

  • Add source_relation to downstream models if necessary
  • Finish any incomplete/incorrect joins/partitions
  • Update tests to include source_relation in unique-combination-of-cols if necessary
    • May need to remove some uniqueness tests in favor of the combo test

Validation:

  • dbt run locally passes
  • dbt test locally passes

@fivetran-catfritz fivetran-catfritz linked an issue Sep 1, 2023 that may be closed by this pull request
4 tasks
@fivetran-catfritz fivetran-catfritz self-assigned this Sep 1, 2023
@fivetran-catfritz
Copy link
Contributor Author

Note--updated fivetran_utils.union_data to account for pinterest naming exceptions.

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.

Approving these changes with the stipulation of the upstream pinterest_source updates being applied and approved. In addition there are a few notes below I would like you to address before rolling out these updates along with the others.

CHANGELOG.md Outdated Show resolved Hide resolved
packages.yml Outdated Show resolved Hide resolved
@fivetran-catfritz fivetran-catfritz merged commit c48ed85 into main Oct 12, 2023
1 check passed
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.

[Feature] Add union schema capability
2 participants