2024-05-14 16:07:44 +00:00
|
|
|
{{
|
|
|
|
|
config(
|
2025-09-18 16:44:53 +00:00
|
|
|
tags=["test_hourly_deprecated"]
|
2025-11-07 19:54:15 +00:00
|
|
|
,enabled = false
|
2024-05-14 16:07:44 +00:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
|
2024-02-08 15:40:39 +00:00
|
|
|
SELECT
|
|
|
|
|
MD5(
|
|
|
|
|
CAST(
|
|
|
|
|
COALESCE(CAST(block_id AS text), '_dbt_utils_surrogate_key_null_') || '-' || COALESCE(CAST(tx_id AS text), '_dbt_utils_surrogate_key_null_') || '-' || COALESCE(CAST(INDEX AS text), '_dbt_utils_surrogate_key_null_') || '-' || COALESCE(CAST(inner_index AS text), '_dbt_utils_surrogate_key_null_') || '-' || COALESCE(CAST(program_id AS text), '_dbt_utils_surrogate_key_null_') AS text
|
|
|
|
|
)
|
|
|
|
|
) AS complete_decoded_instructions_2_id
|
|
|
|
|
FROM
|
|
|
|
|
{{ target.database }}.bronze.streamline_decoded_instructions_2
|
|
|
|
|
WHERE
|
2024-02-09 14:52:04 +00:00
|
|
|
_partition_by_created_date_hour >= dateadd('hour',-3,date_trunc('hour',current_timestamp()))
|
2024-02-13 15:43:20 +00:00
|
|
|
AND _partition_by_created_date_hour < dateadd('hour',-2, date_trunc('hour',current_timestamp()))
|
2024-02-08 15:40:39 +00:00
|
|
|
EXCEPT
|
|
|
|
|
SELECT
|
|
|
|
|
complete_decoded_instructions_2_id
|
|
|
|
|
FROM
|
|
|
|
|
{{ ref('streamline__complete_decoded_instructions_2') }}
|
|
|
|
|
WHERE
|
2024-02-09 14:52:04 +00:00
|
|
|
_inserted_timestamp >= dateadd('hour',-3,date_trunc('hour',current_timestamp()))
|