event_inner to schedule (#658)

This commit is contained in:
tarikceric 2024-09-23 12:38:11 -07:00 committed by GitHub
parent b22caeab39
commit 9d00c8da97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@
merge_exclude_columns = ["inserted_timestamp"],
post_hook = enable_search_optimization('{{this.schema}}', '{{this.identifier}}', 'ON EQUALITY(tx_id, program_id, instruction_program_id, instruction_index, inner_index, event_type)'),
full_refresh = false,
tags = ['events_inner_backfill']
tags = ['scheduled_core']
) }}
{% if execute %}
@ -42,6 +42,5 @@ FROM
{% if is_incremental() %}
WHERE
modified_timestamp > '{{ max_modified_timestamp }}'
-- to-do: revert back to >= after backfill
modified_timestamp >= '{{ max_modified_timestamp }}'
{% endif %}

View File

@ -6,7 +6,7 @@
post_hook = enable_search_optimization('{{this.schema}}','{{this.identifier}}','ON EQUALITY(tx_id, program_id, instruction_program_id, instruction_index, inner_index, event_type)'),
merge_exclude_columns = ["inserted_timestamp"],
full_refresh = false,
tags = ['events_inner_backfill']
tags = ['scheduled_core']
) }}
WITH pre_final AS (