Skip to content

Commit

Permalink
chore: fix compras_materiais_servicos_sigma.servico model
Browse files Browse the repository at this point in the history
  • Loading branch information
d116626 committed Apr 4, 2024
1 parent 6b16ce7 commit 6d5e5df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipelines/templates/run_dbt_model/flows.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
MATERIALIZA MODELOS DO DBT
MATERIALIZA MODELOS DO DBT.
"""

from copy import deepcopy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ SELECT
SAFE_CAST(REGEXP_REPLACE(TRIM(cd_atividade_cae), r'\.0$', '') AS STRING) AS id_atividade_cae,
SAFE_CAST(REGEXP_REPLACE(TRIM(cd_grupo_cae), r'\.0$', '') AS STRING) AS id_grupo_cae,
SAFE_CAST(REGEXP_REPLACE(TRIM(cd_seq), r'\.0$', '') AS STRING) AS id_sequencia,
SAFE_CAST(REGEXP_REPLACE(TRIM(cd_serv), r'\.0$', '') AS STRING) AS id_servico,
SAFE_CAST(REGEXP_REPLACE(TRIM(cd_servico), r'\.0$', '') AS STRING) AS id_servico,
SAFE_CAST(REGEXP_REPLACE(TRIM(cd_serv), r'\.0$', '') AS STRING) AS id_serv,
SAFE_CAST(REGEXP_REPLACE(TRIM(cd_subgrupo_cae), r'\.0$', '') AS STRING) AS id_subgrupo_cae,
SAFE_CAST(TRIM(ds_atividade_economica) AS STRING) AS descricao_atividade_economica,
SAFE_CAST(TRIM(ds_servico) AS STRING) AS descricao_servico,
Expand Down

0 comments on commit 6d5e5df

Please sign in to comment.