Skip to content

Commit

Permalink
Merge pull request #12 from prefeitura-rio/staging/update_sislic
Browse files Browse the repository at this point in the history
fix: AlvaraObraPrivada e Registro_Cancelamento fixed
  • Loading branch information
PedroSiqueira1 authored Jan 14, 2025
2 parents b50b34b + 9fd1d12 commit 176eb6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pipelines/sislic/dump_db_sislic/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,8 @@
SELECT
cod_dlf,
tipo,
Nr_documento
Nr_documento,
dt_cancelamento
FROM SMU_PRD.dbo.tbLIC_DocCancelados
""",
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 @@ -63,7 +63,7 @@ numconcedida AS numeracao_concedida,
obs AS observacao,
CAST(CAST(mat_func AS FLOAT64) AS INT64) AS matricula_tecnico,
CAST(cancelado AS BOOL) AS cancelado,
CAST(lic_gratis AS BOOL) AS licenca_gratis,
CAST(licgratis AS BOOL) AS licenca_gratis,
CAST(orgaocentral AS BOOL) AS licenca_orgao_central,
codorgao_especial AS cod_orgao_especial,
OrdemEmissao AS ordem_emissao,
Expand Down

0 comments on commit 176eb6d

Please sign in to comment.