Skip to content

Commit

Permalink
fix: update tests in dbt after refactoring (et/somenergia-jardiner!100)
Browse files Browse the repository at this point in the history
Merge branch 'fix/update-tests-in-dbt-after-refactoring-4a58179b' into 'main'
  • Loading branch information
diegoquintanav committed Feb 6, 2024
2 parents 27c1b09 + 2d89028 commit 3bd01a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,15 @@ models:
- "voltatge_mt_fase_r"
- "voltatge_mt_fase_s"
- "voltatge_mt_fase_t"
- "energia_activa_exportada_instantania"
- name: device_name
description: nom del device
- name: device_type
description: tipus de device
tests:
- accepted_values:
values:
["meter", "inverter", "sensor", "plant", "string", "module"]
["meter", "inverter", "sensor", "plant", "string", "module", "inverter_module"]
- name: device_parent
description: device parent del device. e.g. un string té l'inversor1 com a pare
- name: signal_uuid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ with
dbt_updated_at::date as dbt_updated_at,
dbt_valid_from::date as dbt_valid_from,
coalesce(dbt_valid_to::date, '2050-01-01'::date)::date as dbt_valid_to
from {{ ref("snapshot_plant_parameters") }} as pl
from {{ ref("snapshot_plant_parameters") }}
)
select *
from current_data
Expand Down

0 comments on commit 3bd01a3

Please sign in to comment.