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 #14

Merged
merged 16 commits into from
Jul 23, 2024

Conversation

fivetran-catfritz
Copy link
Contributor

@fivetran-catfritz fivetran-catfritz commented Jul 15, 2024

Issue:

Confirm the following files were correctly updated automatically:

  • CHANGELOG
  • README
  • google_play.yml
  • docs.md
  • joins
  • window functions (partition by)
  • 'source_relation' column added
  • 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:

  • When not using unioning, tests in the folder tests/consistency/row_counts pass

    • It is is expected that the consistency tests will not pass when unioning
  • Spot check with seed data for unioning:

    • Screenshot 2024-07-18 at 1 08 50 PM
  • Also:

    • see internal ticket

@fivetran-catfritz fivetran-catfritz self-assigned this Jul 17, 2024
Copy link
Collaborator

@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.

@fivetran-catfritz this PR is looking great, just a small request to update the CHANGLOG with the same notes from the Apple Store PRs.

packages.yml Outdated
Comment on lines 2 to 6
# version: [">=0.3.0", "<0.4.0"]
- git: https://github.com/fivetran/dbt_google_play_source.git
revision: MagicBot/add-union-schema
warn-unpinned: false
Copy link
Collaborator

Choose a reason for hiding this comment

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

Reminder to update before release

@fivetran-joemarkiewicz
Copy link
Collaborator

Also before merging we should add the auto releaser to this package.

Copy link
Contributor Author

@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.

@fivetran-joemarkiewicz I have updated, including the changes from apple_store. This is ready for re-review!

Copy link
Collaborator

@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 thanks for applying the updates!

@fivetran-catfritz fivetran-catfritz merged commit 20d8631 into main Jul 23, 2024
8 checks 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.

2 participants