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

make amps work better for hooli #49

Merged
merged 1 commit into from
Oct 24, 2023
Merged

make amps work better for hooli #49

merged 1 commit into from
Oct 24, 2023

Conversation

slopp
Copy link
Collaborator

@slopp slopp commented Oct 24, 2023

This PR addresses some long standing problem's in Hooli's use of experimental auto-materialization policies, specifically the case of daily partitioned assets -> weekly partitioned assets -> unpartitioned assets.

The customized policy now makes it so that any change to a daily partition will cause downstream assets to materialize, essentially making AMPs more aggressive. This change helps us demo how changes propagate through the system.

We also remove lazy policies which just didn't work in these situations.

Tradeoffs:

The remaining freshness policies are now useful for alerting only, they no longer dictate run behavior.

The change to use a customized AMP means the AMP policies must be defined in code and not in the dbt model config.

@github-actions
Copy link

github-actions bot commented Oct 24, 2023

Your pull request is automatically being deployed to Dagster Cloud.

Location Status Link Updated
batch_enrichment View in Cloud Oct 24, 2023 at 07:38 PM (UTC)
data-eng-pipeline View in Cloud Oct 24, 2023 at 07:38 PM (UTC)
basics View in Cloud Oct 24, 2023 at 07:38 PM (UTC)

@slopp slopp merged commit f911a36 into master Oct 24, 2023
1 check passed
izzye84 pushed a commit that referenced this pull request Oct 25, 2023
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.

1 participant