Skip to content

Commit

Permalink
fix: registration flow and go through tablet approve
Browse files Browse the repository at this point in the history
  • Loading branch information
tricktx committed Feb 20, 2024
1 parent 62c286c commit 2f69da9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ clean-targets: # directories to be removed by `dbt clean`
# Disable metadata models updates:
vars:
disable_dbt_artifacts_autoupload: true

# Grant acess
# bq data control: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-control-language
# dbt grant statements use https://discourse.getdbt.com/t/the-exact-grant-statements-we-use-in-a-dbt-project/430
Expand Down Expand Up @@ -303,4 +302,4 @@ models:
+materialized: table
+schema: test_dataset
elementary:
+schema: elementary
+schema: elementary
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# register flow
{{ config(alias="evento", schema="br_camara_dados_abertos") }}
select
safe_cast(id as string) id,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# register flow
{{ config(alias="evento_orgao", schema="br_camara_dados_abertos") }}
select
safe_cast(idevento as string) id_evento,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# register flow
{{ config(alias="evento_presenca_deputado", schema="br_camara_dados_abertos") }}
select distinct
safe_cast(idevento as string) id_evento,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# register flow
{{ config(alias="evento_requerimento", schema="br_camara_dados_abertos") }}
select
safe_cast(idevento as string) id_evento,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# register flow
{{ config(alias="frente", schema="br_camara_dados_abertos") }}
select
safe_cast(id as string) id,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# register flow
{{ config(alias="frente_deputado", schema="br_camara_dados_abertos") }}
select
safe_cast(id as string) id_frente,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# register flow
{{ config(alias="funcionario", schema="br_camara_dados_abertos") }}
select distinct
safe_cast(nome as string) nome,
Expand Down
2 changes: 1 addition & 1 deletion packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ packages:
- package: dbt-labs/dbt_utils
version: 1.1.1
- package: elementary-data/elementary
version: 0.14.0
version: 0.14.0

0 comments on commit 2f69da9

Please sign in to comment.