Skip to content

Commit

Permalink
fix date column
Browse files Browse the repository at this point in the history
  • Loading branch information
tricktx committed Dec 9, 2024
1 parent 537f796 commit e922171
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pipelines/utils/crawler_cgu/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,14 +307,13 @@
update_django_metadata(
dataset_id=dataset_id,
table_id=table_id,
date_column_name={"year": "ano_extrato", "month": "mes_extrato"},
date_column_name={"year": "ano", "month": "mes"},
date_format="%Y-%m",
coverage_type="part_bdpro",
time_delta={"months": 6},
prefect_mode=materialization_mode,
bq_project="basedosdados",
upstream_tasks=[wait_for_materialization],
)

flow_cgu_licitacao_contrato.storage = GCS(constants.GCS_FLOWS_BUCKET.value)
flow_cgu_licitacao_contrato.run_config = KubernetesRun(image=constants.DOCKER_IMAGE.value)

0 comments on commit e922171

Please sign in to comment.