DBT: Postgres Regions Without Geometry
File location: s3://trase-storage/postgres_views/postgres_regions.parquet
DBT model name: postgres_regions_without_geometry
Explore on Metabase: Full table; summary statistics
Explore dependencies/lineage: link
Description
Queries the Postgres 'views.regions' table, but excludes the geometry column, to minimise the file size
Details
| Column | Type | Description |
|---|---|---|
name |
VARCHAR |
|
trase_id |
VARCHAR |
|
synonyms |
VARCHAR[] |
|
node_id |
BIGINT |
|
country |
VARCHAR |
|
region_type |
VARCHAR |
|
level |
INTEGER |
|
node_type_slug |
VARCHAR |
|
year_start |
DOUBLE |
|
year_end |
DOUBLE |
|
biome |
VARCHAR |
|
brazil_port_urf_codes |
VARCHAR[] |
|
matopiba |
BOOLEAN |
|
last_refresh_time |
TIMESTAMP WITH TIME ZONE |
|
node_type_name |
VARCHAR |
|
parent_trase_id |
VARCHAR |
|
parent_name |
VARCHAR |
|
parent_node_type_slug |
VARCHAR |
|
parent_node_type_name |
VARCHAR |
Review full report including sample errors records if they exist (link)
| Test name | Test column | Last test run | Last status |
|---|---|---|---|
database_contains_all_indonesian_kabupaten |
`` | 2026-04-25 13:23 | error |
database_contains_all_indonesian_provinces |
`` | 2026-04-25 13:23 | error |
Models
brazil_bol_2023_silverbrazil_mdic_municipality_2020brazil_mdic_municipality_2021brazil_mdic_municipality_2022brazil_mdic_municipality_2023brazil_mdic_municipality_2024brazil_mdic_port_2020brazil_mdic_port_2021brazil_mdic_port_2022brazil_mdic_port_2023brazil_mdic_port_2024brazil_port_urfscd_disaggregated_beef_2021cd_disaggregated_beef_2022cd_disaggregated_beef_2023tac_zdc_2023
{{ config(materialized='external') }}
SELECT * EXCLUDE (_geometry) FROM {{ this.identifier }}_postgres_db.views.regions
-
Dbt path:
trase_production.main.postgres_regions_without_geometry -
Containing yaml link: trase/data_pipeline/models/postgres_views/_schema_postgres_tables.yml
-
Model file: trase/data_pipeline/models/postgres_views/postgres_regions_without_geometry.sql
-
Tags:
postgres,regions