Skip to content

Commit bbd163d

Browse files
committed
fix test
1 parent 36e1956 commit bbd163d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

integration_tests/tests/test_dbt_artifacts/test_microbatch_compiled_code.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ def test_microbatch_run_results_has_compiled_code(test_id: str, dbt_project: Dbt
99
materialized='incremental',
1010
incremental_strategy='microbatch',
1111
event_time='order_date',
12-
batch_size='day',
12+
batch_size='year',
1313
begin='2025-03-01',
1414
unique_key='order_id'
1515
) }}
1616
1717
select
18-
order_id,
19-
customer_id,
20-
amount,
21-
cast('2025-03-01 00:00:00+00:00' as timestamp) as order_date
22-
from {{ ref('stg_orders') }}
18+
cast(one as int) as order_id,
19+
1 as customer_id,
20+
42 as amount,
21+
{{ dbt.current_timestamp() }} as order_date
22+
from {{ ref('one') }}
2323
"""
2424

2525
with dbt_project.create_temp_model_for_existing_table(

0 commit comments

Comments
 (0)