fix macro disable models

This commit is contained in:
Eric Laurello 2025-05-02 17:11:25 -04:00
parent fe091a36ab
commit 7477e9adae
5 changed files with 9 additions and 5 deletions

View File

@ -2,7 +2,7 @@
CREATE
OR REPLACE EXTERNAL FUNCTION streamline.udf_bulk_rest_api_v2(
json OBJECT
) returns ARRAY {% if target.database == 'EXTERNAL:' -%}
) returns ARRAY {% if target.database == 'EXTERNAL' -%}
api_integration = aws_external_api_prod_v2 AS 'https://zv7a5qfhv9.execute-api.us-east-1.amazonaws.com/prod/udf_bulk_rest_api'
{% else %}
api_integration = aws_external_api_stg_v2 AS 'https://qoupd0givh.execute-api.us-east-1.amazonaws.com/stg/udf_bulk_rest_api'

View File

@ -2,7 +2,8 @@
{{ config(
materialized = 'incremental',
unique_key = ['as_of_date', 'blockchain'],
tags = ['oklink']
tags = ['oklink'],
enabled = false
) }}
WITH source AS (

View File

@ -2,7 +2,8 @@
{{ config(
materialized = 'incremental',
unique_key = ['as_of_date', 'blockchain'],
tags = ['oklink']
tags = ['oklink'],
enabled = false
) }}
WITH source AS (

View File

@ -2,7 +2,8 @@
{{ config(
materialized = 'incremental',
unique_key = ['as_of_date', 'blockchain'],
tags = ['oklink']
tags = ['oklink'],
enabled = false
) }}
WITH source AS (

View File

@ -2,7 +2,8 @@
{{ config(
materialized = "incremental",
unique_key = ['block_date', 'blockchain'],
tags = ['oklink']
tags = ['oklink'],
enabled = false
) }}
WITH source_data AS (