Skip to content

Commit

Permalink
Merge branch 'staging/add-dw-bi-alvaras' of https://github.com/prefei…
Browse files Browse the repository at this point in the history
…tura-rio/pipelines_rj_smfp into staging/add-dw-bi-alvaras
  • Loading branch information
d116626 committed Oct 30, 2024
2 parents 5b40150 + ae12db2 commit 37d0b76
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/fact_fatoalvaras.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ SELECT
SAFE_CAST(ID_TipoContribuint AS STRING) AS ID_TipoContribuint,
SAFE_CAST(ID_TipoSolicitacao AS STRING) AS ID_TipoSolicitacao

FROM `rj-iplanrio.alvaras_staging.fact_fatoalvaras`
FROM `rj-smfp.atividade_economica_staging.fact_fatoalvaras`
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/fact_fatocp.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ SELECT
SAFE_CAST(ID_TipoContribuint AS STRING) AS ID_TipoContribuint,
SAFE_CAST(ID_TipoSolicitacao AS STRING) AS ID_TipoSolicitacao

FROM `rj-iplanrio.alvaras_staging.fact_fatocp`
FROM `rj-smfp.atividade_economica_staging.fact_fatocp`
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/tab_alvara.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ SELECT
SAFE_CAST(DSC_Numero AS FLOAT64) AS DSC_Numero,
SAFE_CAST(DSC_AlvaraLiberado AS STRING) AS DSC_AlvaraLiberado

FROM `rj-iplanrio.alvaras_staging.tab_alvara`
FROM `rj-smfp.atividade_economica_staging.tab_alvara`
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/tab_atvprocesso.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ SELECT
SAFE_CAST(DSC_RespAtividade AS STRING) AS DSC_RespAtividade,
SAFE_CAST(DSC_RefAtividade AS STRING) AS DSC_RefAtividade

FROM `rj-iplanrio.alvaras_staging.tab_atvprocesso`
FROM `rj-smfp.atividade_economica_staging.tab_atvprocesso`
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/tab_cae.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ SELECT
SAFE_CAST(ID_TipoAtividade AS STRING) AS ID_TipoAtividade,
SAFE_CAST(DSC_TipoAtividade AS STRING) AS DSC_TipoAtividade

FROM `rj-iplanrio.alvaras_staging.tab_cae`
FROM `rj-smfp.atividade_economica_staging.tab_cae`
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/tab_cnae.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ SELECT
SAFE_CAST(ID_CNAE AS STRING) AS ID_CNAE,
SAFE_CAST(DSC_CNAE AS STRING) AS DSC_CNAE

FROM `rj-iplanrio.alvaras_staging.tab_cnae`
FROM `rj-smfp.atividade_economica_staging.tab_cnae`
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/tab_consulta.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ SELECT
SAFE_CAST(DSC_TipoAnalise_cp AS STRING) AS DSC_TipoAnalise_cp,
SAFE_CAST(DSC_Status_cp AS STRING) AS DSC_Status_cp

FROM `rj-iplanrio.alvaras_staging.tab_consulta`
FROM `rj-smfp.atividade_economica_staging.tab_consulta`
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/tab_direcionamento.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ SELECT
SAFE_CAST(ID_Direcionamento AS STRING) AS ID_Direcionamento,
SAFE_CAST(DSC_Direcionamento AS STRING) AS DSC_Direcionamento

FROM `rj-iplanrio.alvaras_staging.tab_direcionamento`
FROM `rj-smfp.atividade_economica_staging.tab_direcionamento`
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SELECT
SAFE_CAST(ID_TipoContribuint AS STRING) AS ID_TipoContribuint,
SAFE_CAST(DSC_TipoContribuint AS STRING) AS DSC_TipoContribuint
FROM `rj-iplanrio.alvaras_staging.tab_tipocontribuinte_tipocontribuint`
FROM `rj-smfp.atividade_economica_staging.tab_tipocontribuinte_tipocontribuint`
2 changes: 1 addition & 1 deletion queries/models/atividade_economica/tab_tiposolicitacao.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ SELECT
SAFE_CAST(ID_TipoSolicitacao AS STRING) AS ID_TipoSolicitacao,
SAFE_CAST(DSC_TipoSolicitacao AS STRING) AS DSC_TipoSolicitacao

FROM `rj-iplanrio.alvaras_staging.tab_tiposolicitacao`
FROM `rj-smfp.atividade_economica_staging.tab_tiposolicitacao`

0 comments on commit 37d0b76

Please sign in to comment.