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

[dbt] br_b3_cotacoes.dicionario #263

Merged
merged 2 commits into from
Sep 18, 2023
Merged
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
5 changes: 2 additions & 3 deletions models/br_b3_cotacoes/br_b3_cotacoes__dicionario.sql
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
--- registrando novamente o dicionário
{{ config(alias='dicionario', schema='br_b3_cotacoes') }}


SELECT
SAFE_CAST(id_tabela AS STRING) id_tabela,
SAFE_CAST(nome_coluna AS STRING) nome_coluna,
SAFE_CAST(chave AS STRING) chave,
SAFE_CAST(cobertura_temporal AS STRING) cobertura_temporal,
SAFE_CAST(valor AS STRING) valor

FROM basedosdados-staging.br_b3_cotacoes_staging.dicionario AS t
FROM basedosdados-staging.br_b3_cotacoes_staging.dicionario AS t
Loading