stellar-models/models/bronze/core/bronze__accounts_FR.sql
2025-02-04 14:01:55 -05:00

11 lines
331 B
SQL

{{ config (
materialized = 'view'
) }}
{{ streamline_external_table_FR_query_v2(
model = "accounts",
partition_function = "TRY_TO_DATE(left(split_part(split_part(file_name, '=', -1), '/', -1),8), 'YYYYMMDD')",
partition_name = "partition_gte_id",
unique_key = "ACCOUNT_ID",
other_cols = "partition_id"
) }}