Skip to content

Commit

Permalink
fix: add ocr_radar dataset to dbt_project,yml
Browse files Browse the repository at this point in the history
  • Loading branch information
d116626 committed Jul 23, 2024
1 parent de7e2f1 commit ea577f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pipelines/ocr_radar/dump_db_radar/flows.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
Database dumping flows for cetrio project .
Database dumping flows for cetrio project .
"""

from copy import deepcopy
Expand Down
2 changes: 1 addition & 1 deletion pipelines/templates/run_dbt_model/flows.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
MATERIALIZA MODELOS DO DBT .
MATERIALIZA MODELOS DO DBT .
"""

from copy import deepcopy
Expand Down
2 changes: 1 addition & 1 deletion queries/models/ocr_radar/equipamento.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ SELECT
CAST(longitude AS FLOAT64) as longitude,
CAST(logradouro AS STRING) as logradouro,
CAST(sentido AS STRING) as sentido,
CAST(sentido AS INT64) as velofisc
CAST(REGEXP_REPLACE(velofisc, r'\.0$', '') AS INT64) as velofisc
FROM `rj-cetrio.ocr_radar_staging.equipamento`

0 comments on commit ea577f8

Please sign in to comment.