Skip to content

Commit

Permalink
update files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason4276 committed Jan 9, 2025
1 parent f2f01a7 commit 5f8f137
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
{{
config(
schema = 'solidly_pools_optimism',
alias = 'balances',
materialized = 'incremental',
file_format = 'delta',
incremental_strategy = 'merge',
unique_key = ['pool_address', 'snapshot_day'],
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.snapshot_day')]
)
}}

WITH solidly_pools AS (
SELECT
pool AS pool_address,
Expand All @@ -30,7 +18,7 @@ filtered_balances AS (
blockchain='optimism',
token_address='0x4200000000000000000000000000000000000042',
start_date='2024-01-30'
) }}
) }}
)

SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
{{
config(
schema = 'swaap_pools_optimism',
alias = 'balances',
materialized = 'incremental',
file_format = 'delta',
incremental_strategy = 'merge',
unique_key = ['pool_address', 'snapshot_day'],
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.snapshot_day')]
)
}}

WITH swaap_pools AS (
SELECT
poolId AS pool_address,
Expand All @@ -28,7 +16,7 @@ filtered_balances AS (
blockchain='optimism',
token_address='0x4200000000000000000000000000000000000042',
start_date='2024-06-07'
) }}
) }}
)

SELECT
Expand Down

0 comments on commit 5f8f137

Please sign in to comment.