mirror of
https://github.com/FlipsideCrypto/external-models.git
synced 2026-02-06 15:56:44 +00:00
fix macro disable models (#113)
This commit is contained in:
parent
fe091a36ab
commit
b18fda2668
@ -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'
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
{{ config(
|
||||
materialized = 'incremental',
|
||||
unique_key = ['as_of_date', 'blockchain'],
|
||||
tags = ['oklink']
|
||||
tags = ['oklink'],
|
||||
enabled = false
|
||||
) }}
|
||||
|
||||
WITH source AS (
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
{{ config(
|
||||
materialized = 'incremental',
|
||||
unique_key = ['as_of_date', 'blockchain'],
|
||||
tags = ['oklink']
|
||||
tags = ['oklink'],
|
||||
enabled = false
|
||||
) }}
|
||||
|
||||
WITH source AS (
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
{{ config(
|
||||
materialized = 'incremental',
|
||||
unique_key = ['as_of_date', 'blockchain'],
|
||||
tags = ['oklink']
|
||||
tags = ['oklink'],
|
||||
enabled = false
|
||||
) }}
|
||||
|
||||
WITH source AS (
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
{{ config(
|
||||
materialized = "incremental",
|
||||
unique_key = ['block_date', 'blockchain'],
|
||||
tags = ['oklink']
|
||||
tags = ['oklink'],
|
||||
enabled = false
|
||||
) }}
|
||||
|
||||
WITH source_data AS (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user