Skip to content

Commit

Permalink
Adiciona parametro truncate minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
pixuimpou committed Aug 26, 2024
1 parent 07e6e19 commit afb37d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ class constants(Enum): # pylint: disable=c0103
"date_range": {
"table_run_datetime_column_name": "data",
"delay_hours": 0,
"truncate_minutes": False,
},
"version": {},
},
Expand Down
1 change: 1 addition & 0 deletions pipelines/migration/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def create_dbt_run_vars(
mode=mode,
delay_hours=dbt_vars["date_range"].get("delay_hours", 0),
end_ts=timestamp,
truncate_minutes=dbt_vars["date_range"].get("truncate_minutes", True),
)

flag_date_range = True
Expand Down

0 comments on commit afb37d4

Please sign in to comment.