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

Test dev dbt image #548

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Test dev dbt image #548

merged 2 commits into from
Dec 5, 2024

Conversation

sydneynotthecity
Copy link
Contributor

@sydneynotthecity sydneynotthecity commented Dec 5, 2024

PR Checklist

PR Structure

  • This PR has reasonably narrow scope (if not, break it down into smaller PRs).
  • This PR avoids mixing refactoring changes with feature changes (split into two PRs
    otherwise).
  • This PR's title starts with the jira ticket associated with the PR.

Thoroughness

  • This PR adds tests for the most critical parts of the new functionality or fixes.
  • I've updated the README with the added features, breaking changes, new instructions on how to use the repository.

What

Releasing dbt model updates, which contain material schema changes to *_current and enriched_* tables

Note: The two state tables will need to be fully refreshed so that columns backfill. This is manual and requires the deployer to set dbt_full_refresh_models to true in Airflow variables. This is easiest to set in the UI, let the models complete and then set the keys back to false.

Enriched history tables can be backfilled when convenient since these tables are so large. Fully refreshing the model does not work without chunking the tables

Why

Keep curated and aggregate tables aligned with data model changes from protocol releases

Known limitations

@sydneynotthecity sydneynotthecity requested a review from a team as a code owner December 5, 2024 20:18
@sydneynotthecity sydneynotthecity merged commit 009e0d8 into master Dec 5, 2024
3 checks passed
@sydneynotthecity sydneynotthecity deleted the patch/release-dbt-changes branch December 5, 2024 22:13
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