From 12918464a073eaf68271b17c38578c1c62b278a0 Mon Sep 17 00:00:00 2001 From: tricktx Date: Mon, 8 Jul 2024 11:10:24 -0300 Subject: [PATCH] delete add-test-in-diretorios --- models/br_bd_diretorios_brasil/cep.sql | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 models/br_bd_diretorios_brasil/cep.sql diff --git a/models/br_bd_diretorios_brasil/cep.sql b/models/br_bd_diretorios_brasil/cep.sql deleted file mode 100644 index 413eba9b..00000000 --- a/models/br_bd_diretorios_brasil/cep.sql +++ /dev/null @@ -1,25 +0,0 @@ -{{ - config( - schema="br_bd_diretorios_brasil", - materialized="table", - partition_by={ - "field": "sigla_uf", - "data_type": "string", - }, - ) -}} - -select - safe_cast(lpad(cep, 8, '0') as string) cep, - safe_cast(logradouro as string) logradouro, - safe_cast(complemento as string) complemento, - safe_cast(bairro as string) bairro, - safe_cast(cidade as string) cidade, - safe_cast(id_municipio as string) id_municipio, - safe_cast(sigla_uf as string) sigla_uf, - safe_cast(latitude as float64) latitude, - safe_cast(longitude as float64) longitude, - st_geogpoint( - safe_cast(longitude as float64), safe_cast(latitude as float64) - ) centroide -from `basedosdados-staging.br_bd_diretorios_brasil_staging.cep` as t