Skip to content

Commit 82540d4

Browse files
committed
Add required 'begin' config for testing microbatch models
1 parent 3cbe12f commit 82540d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/adapter/test_incremental_microbatch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

0 commit comments

Comments
 (0)