suspend traces

This commit is contained in:
Austin 2024-08-04 21:32:51 -04:00
parent a0422c6446
commit 906abeb441
3 changed files with 11 additions and 12 deletions

View File

@ -5,7 +5,7 @@
unique_key = "block_number",
cluster_by = "block_timestamp::date, _inserted_timestamp::date",
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION",
tags = ['core']
full_refresh = false
) }}
WITH bronze_traces AS (

View File

@ -5,7 +5,6 @@
unique_key = "block_number",
cluster_by = ['modified_timestamp::DATE','partition_key'],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION",
tags = ['core'],
full_refresh = false
) }}

View File

@ -58,16 +58,16 @@ ready_blocks AS (
block_number
FROM
to_do
UNION
SELECT
block_number
FROM
{{ ref("_missing_traces") }}
UNION
SELECT
block_number
FROM
{{ ref("_unconfirmed_blocks") }}
-- UNION
-- SELECT
-- block_number
-- FROM
-- {{ ref("_missing_traces") }}
-- UNION
-- SELECT
-- block_number
-- FROM
-- {{ ref("_unconfirmed_blocks") }}
)
SELECT
block_number,