near-models/models/bronze/bronze__chunks.sql
2025-02-04 13:53:24 -07:00

11 lines
243 B
SQL

{{ config (
materialized = 'view',
tags = ['streamline_helper']
) }}
{{ streamline_external_table_query_v2(
model = "chunks_v2",
partition_function = "CAST(SPLIT_PART(SPLIT_PART(file_name, '/', 3), '_', 1) AS INTEGER )"
) }}