Skip to content

Commit

Permalink
Add required 'begin' config for testing microbatch models
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Sep 23, 2024
1 parent 3cbe12f commit 82540d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/adapter/test_incremental_microbatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# No requirement for a unique_id for snowflake microbatch!
_microbatch_model_no_unique_id_sql = """
{{ config(materialized='incremental', incremental_strategy='microbatch', event_time='event_time', batch_size='day') }}
{{ config(materialized='incremental', incremental_strategy='microbatch', event_time='event_time', batch_size='day', begin=modules.datetime.datetime(2020, 1, 1, 0, 0, 0)) }}
select * from {{ ref('input_model') }}
"""

Expand Down

0 comments on commit 82540d4

Please sign in to comment.