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

Incremental clusters #57

Merged
merged 14 commits into from
Nov 15, 2023
Merged

Incremental clusters #57

merged 14 commits into from
Nov 15, 2023

Conversation

gronders
Copy link
Member

@gronders gronders commented Nov 7, 2023

  • add incremental logic to bitcoin clusters
  • add a changelog store for Research

@forgxyz
Copy link
Collaborator

forgxyz commented Nov 14, 2023

Note - deleted full_refresh = False configs for dev, we'll want to add those back in prod.

When running the backfill dates, use
dbt run -s tag:entity_cluster_0 --vars '{"INCREMENTAL_CLUSTER_BACKFILL": True}'
Then the following for the full cluster model
dbt run -s tag:entity_cluster --vars '{"INCREMENTAL_CLUSTER_BACKFILL": True}'

@@ -102,26 +115,32 @@ labs AS (
)
)
SELECT
DISTINCT A.address,
A.address,
Copy link
Collaborator

Choose a reason for hiding this comment

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

note - deleted DISTINCT here as the inserted and modified timestamp would no longer de-duplicate with a simple DISTINCT. Can either segment new columns into a separate, final, select, or add a qualify

@gronders gronders merged commit b83bd63 into main Nov 15, 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.

3 participants