Skip to content

Commit

Permalink
testa alterações
Browse files Browse the repository at this point in the history
  • Loading branch information
folhesgabriel committed Sep 20, 2023
1 parent 5b73f44 commit 079cfc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@
)

with case(update_metadata, True):
data = extract_last_date(
dataset_id, table_id, "basedosdados", var_name="data_abertura_processo"
)
data = extract_last_date(dataset_id, table_id, "basedosdados")
update_django_metadata(
dataset_id,
table_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def extract_last_date(
log("dasdasdsadas")

query_bd = f"""
SELECT MAX({var_name}) as max_date
SELECT MAX(data_abertura_processo) as max_date
FROM
`{billing_project_id}.{dataset_id}.{table_id}`
"""
Expand Down

0 comments on commit 079cfc4

Please sign in to comment.