We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0fd117 commit bf30a32Copy full SHA for bf30a32
1 file changed
dataprocessing/sql_snippets/ego_dp_versioning_mviews.sql
@@ -43,6 +43,7 @@ ALTER MATERIALIZED VIEW supply.ego_dp_conv_powerplant_nep2035_mview
43
DROP MATERIALIZED VIEW IF EXISTS supply.ego_dp_conv_powerplant_ego100_mview CASCADE;
44
CREATE MATERIALIZED VIEW supply.ego_dp_conv_powerplant_ego100_mview AS
45
SELECT
46
+ version,
47
preversion,
48
gid,
49
bnetza_id,
@@ -134,6 +135,7 @@ CREATE MATERIALIZED VIEW supply.ego_dp_res_powerplant_nep2035_mview AS
134
135
Order by id)
136
AND scenario = 'Status Quo'
137
And preversion = 'v0.3.0'
138
+ AND version = 'v0.3.0'
139
AND electrical_capacity > 0
140
ORDER BY id
141
) as sub
0 commit comments