Skip to content

Commit

Permalink
Merge pull request #11 from prefeitura-rio/staging/update_sislic
Browse files Browse the repository at this point in the history
fix: Fix columns errors
  • Loading branch information
PedroSiqueira1 authored Jan 13, 2025
2 parents bd8348c + ae558b6 commit b50b34b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pipelines/sislic/dump_db_sislic/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,9 @@
SELECT
cod_dlf,
tipo,
Nr_documento,
Nr_documento
FROM SMU_PRD.dbo.tbLIC_DocCancelados
FROM SMU_PRD.dbo.tbLIC_DocCancelados
""",
"biglake_table": True,
},
Expand Down
2 changes: 1 addition & 1 deletion pipelines/templates/run_dbt_model/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
default_parameters=templates_run_dbt_model_smdue_default_parameters,
)

# RUN DBT MODEL
# RUN DBT MODEL !
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CAST(dt_emissao AS DATETIME) AS data_emissao,
CAST(dt_inicio_validade AS DATETIME) AS data_inicio_validade,
CAST(dt_venc AS DATETIME) AS data_vencimento,
CAST(CAST(prazo AS FLOAT64) AS int64) AS prazo,
CAST(CAST(Dt_alvara AS DATETIME) AS int64) AS data_passe_alvara,
CAST(Dt_alvara AS DATETIME) AS data_passe_alvara,
num_darm_pg AS numero_darm_pago,
CAST(vl_lic AS float64) AS valor_darm,
requerente AS requerente,
Expand Down

0 comments on commit b50b34b

Please sign in to comment.