Skip to content

Commit

Permalink
Fixup MicrobatchBuilder.batch_id property method
Browse files Browse the repository at this point in the history
  • Loading branch information
QMalcolm committed Nov 27, 2024
1 parent ca351eb commit 585fb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/materializations/incremental/microbatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def truncate_timestamp(timestamp: datetime, batch_size: BatchSize) -> datetime:

@staticmethod
def batch_id(start_time: datetime, batch_size: BatchSize) -> str:
return MicrobatchBuilder.format_batch_start(start_time, batch_size).replace("_", "")
return MicrobatchBuilder.format_batch_start(start_time, batch_size).replace("-", "")

@staticmethod
def format_batch_start(batch_start: datetime, batch_size: BatchSize) -> str:
Expand Down

0 comments on commit 585fb04

Please sign in to comment.