From 070d5cb61fc0fef69eaef7ef4639afffcee8287c Mon Sep 17 00:00:00 2001 From: Quigley Malcolm Date: Thu, 3 Oct 2024 13:43:19 -0500 Subject: [PATCH] Add `begin` to microbatch config in test_incremental_microbatch.py --- .../adapter/incremental/test_incremental_microbatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/adapter/incremental/test_incremental_microbatch.py b/tests/functional/adapter/incremental/test_incremental_microbatch.py index d04316d5..1bd196bf 100644 --- a/tests/functional/adapter/incremental/test_incremental_microbatch.py +++ b/tests/functional/adapter/incremental/test_incremental_microbatch.py @@ -6,7 +6,7 @@ # No requirement for a unique_id for redshift 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') }} """