Skip to content

Commit

Permalink
fix dbt compile and exclude failing model (duneanalytics#5218)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-dude authored Jan 24, 2024
1 parent 4237564 commit d44d700
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 0 additions & 4 deletions models/governance/optimism/governance_optimism_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ version: 2

sources:
- name: snapshot
freshness:
warn_after: { count: 12, period: hour }
description: >
Decoded table for proposals and their voting on Snapshot platform
tables:
- name: proposals
- name: votes

- name: optimism_governor_optimism
freshness:
warn_after: { count: 12, period: hour }
description: >
Decoded table for proposals and their voting on Agora platform
tables:
Expand Down
7 changes: 4 additions & 3 deletions models/safe/bnb/safe_bnb_safes.sql
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{{
config(
materialized='incremental',

schema = 'safe_bnb',
alias = 'safes',
tags = ['prod_exclude'],
partition_by = ['block_month'],
unique_key = ['block_date', 'address'],
on_schema_change='fail',
materialized='incremental',
file_format ='delta',
incremental_strategy='merge',
unique_key = ['block_date', 'address'],
post_hook='{{ expose_spells(\'["bnb"]\',
"project",
"safe",
Expand Down

0 comments on commit d44d700

Please sign in to comment.