couple of small updates

This commit is contained in:
Eric Laurello 2024-05-29 10:56:59 -04:00
parent 8181586da5
commit e3d0d0f59d
2 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{% macro create_aws_cosmos_api() %}
{% if target.name == "prod" %}
{% set sql %}
CREATE api integration IF NOT EXISTS aws_cosmos_api api_provider = aws_api_gateway api_aws_role_arn = 'arn:aws:iam::924682671219:role/cosmos-api-prod-rolesnowflakeudfsAF733095-p9k0jZbJcQpS' api_allowed_prefixes = (
CREATE api integration IF NOT EXISTS aws_cosmos_api_prod api_provider = aws_api_gateway api_aws_role_arn = 'arn:aws:iam::924682671219:role/cosmos-api-prod-rolesnowflakeudfsAF733095-p9k0jZbJcQpS' api_allowed_prefixes = (
'https://kpg3w2qkm4.execute-api.us-east-1.amazonaws.com/prod/'
) enabled = TRUE;
{% endset %}

View File

@ -17,16 +17,15 @@ WITH blocks AS (
block_number
FROM
{{ ref("streamline__blocks") }}
WHERE
block_number >= 15213800
EXCEPT
SELECT
block_number
FROM
{{ ref("streamline__complete_tx_counts") }}
ORDER BY
1
LIMIT
50000
), {# retry AS (
),
{# retry AS (
SELECT
NULL AS A.block_number
FROM