Skip to content

Commit

Permalink
Add begin to microbatch config in test_incremental_microbatch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
QMalcolm committed Oct 3, 2024
1 parent db3d8e3 commit 070d5cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
"""

Expand Down

0 comments on commit 070d5cb

Please sign in to comment.