This commit is contained in:
Eric Laurello 2025-05-01 09:53:46 -04:00
parent 6b753a754d
commit f5fe6525b7
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
tags = ['core']
) }}
{{ streamline_external_table_FR_query(
model = 'balances',
model = 'pool_balances',
partition_function = "CAST(SPLIT_PART(SPLIT_PART(file_name, '/', 3), '_', 1) AS INTEGER)",
partition_name = "_partition_by_block_id",
unique_key = 'block_number'

View File

@ -2,6 +2,6 @@
materialized = 'view'
) }}
{{ streamline_external_table_FR_query_v2(
model = "balances_v2",
model = "pool_balances_v2",
partition_function = "CAST(SPLIT_PART(SPLIT_PART(file_name, '/', 4), '_', 1) AS INTEGER )"
) }}