-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df04bde
commit 7d89ff6
Showing
14 changed files
with
53 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
queries/models/adm_licenca_urbanismo/area_protecao_cultural.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
SELECT | ||
ID_AREA_PROTECAO_CULTURAL AS id_area_protecao_cultural, | ||
DS_AREA_PROTECAO_CULTURAL AS nome_area_arotecao_ambiental | ||
REGEXP_REPLACE( | ||
NORMALIZE(UPPER(DS_AREA_PROTECAO_CULTURAL), NFD), | ||
r'\p{M}', | ||
'' | ||
) AS nome_area_protecao_ambiental | ||
FROM `rj-smdue.adm_licenca_urbanismo_staging.area_protecao_cultural` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
SELECT | ||
CAST(codBairro AS STRING) AS id_bairro, | ||
CAST(nomBairro AS STRING) AS nome_bairro, | ||
CAST(codRA AS STRING) AS id_regiao_administrativa, | ||
CAST(codOrgaoSMU AS STRING) AS id_orgao_SMU, | ||
FROM `rj-smdue.adm_licenca_urbanismo_staging.bairro` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
queries/models/adm_licenca_urbanismo/compl_2_tipo_edificacao.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
SELECT | ||
cod_Edif AS id_tipo_edificacao, | ||
cod_compl_TpEdificacao AS id_compl_tipo_edficacao, | ||
cod_compl_tpEdificacao2 AS id_compl_tipo_edficacao_2, | ||
cod_compl_TpEdificacao AS id_compl_tipo_edificacao, | ||
cod_compl_tpEdificacao2 AS id_compl_tipo_edificacao_2, | ||
Compl2 AS nome_tipo_edificacao | ||
FROM `rj-smdue.adm_licenca_urbanismo_staging.compl_2_tipo_edificacao` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
SELECT | ||
ID_PROFISSAO AS id_profissão, | ||
DS_PROFISSAO AS nome_profissão | ||
ID_PROFISSAO AS id_profissao, | ||
DS_PROFISSAO AS nome_profissao | ||
FROM `rj-smdue.adm_licenca_urbanismo_staging.profissao_preo_prpa` |
4 changes: 0 additions & 4 deletions
4
queries/models/adm_licenca_urbanismo/tipo_licenca_acao_prefeitura_3.sql
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SELECT | ||
cod_lic AS id_licenca, | ||
descr_lic AS nome_licenca | ||
FROM `rj-smdue.adm_licenca_urbanismo_staging.tipo_licenca_acao_prefeitura_3` |