-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
2 changed files
with
59 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{ config(alias="regiao", schema="br_inep_ideb", materialized="table") }} | ||
|
||
select | ||
safe_cast(ano as int64) ano, | ||
safe_cast(regiao as string) regiao, | ||
safe_cast(rede as string) rede, | ||
safe_cast(ensino as string) ensino, | ||
safe_cast(anos_escolares as string) anos_escolares, | ||
safe_cast(taxa_aprovacao as float64) taxa_aprovacao, | ||
safe_cast(indicador_rendimento as float64) indicador_rendimento, | ||
safe_cast(nota_saeb_matematica as float64) nota_saeb_matematica, | ||
safe_cast(nota_saeb_lingua_portuguesa as float64) nota_saeb_lingua_portuguesa, | ||
safe_cast(nota_saeb_media_padronizada as float64) nota_saeb_media_padronizada, | ||
safe_cast(ideb as float64) ideb, | ||
safe_cast(projecao as float64) projecao, | ||
from `basedosdados-staging.br_inep_ideb_staging.regiao` as t |
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