Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] premio_oceanos #318

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion models/world_oceanos_mapeamento/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ models:
- name: indicador_vencedor
description: Indica se a Obra foi vencedora do prêmio
- name: world_oceanos_mapeamento__mapeamento
description: Insert `mapeamento` table description here
description:
columns:
- name: id
description: Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SAFE_CAST(indicador_publicacao_outras_obras AS BOOLEAN) autor_indicador_publicac
SAFE_CAST(quantidade_obras_publicadas AS INT64) autor_quantidade_obras_publicadas,
SAFE_CAST(nome_editora_final_3 AS STRING) editora_nome,
SAFE_CAST(pais_origem_editora AS STRING) editora_pais_origem,
SAFE_CAST(local_sede_editora AS STRING) editora_local_sede,
SAFE_CAST(local_sede_editora_normalizado AS STRING) editora_local_sede,
SAFE_CAST(ano_criacao_editora AS INT64) editora_ano_criacao,
SAFE_CAST(linha_predominante_editora AS STRING) editora_linha_predominante,
SAFE_CAST(canal_distribuicao_editora AS STRING) editora_canal_distribuicao,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
schema='world_oceanos_mapeamento',
materialized='table' )
}}

SELECT
SAFE_CAST(ano AS INTEGER) ano,
SAFE_CAST(nome_final AS STRING) nome,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
schema='world_oceanos_mapeamento',
materialized='table' )
}}

SELECT
SAFE_CAST(id AS STRING) id,
SAFE_CAST(livro_titulo AS STRING) titulo,
Expand Down
Loading