1
0
Fork 0

Update step15_5.sql

Bug fix
This commit is contained in:
dimitrispie 2023-06-21 11:31:10 +03:00
parent 74cb060bfe
commit 2b6370eaee
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------
--- Extra tables, mostly used by indicators
create table ${stats_db_name}.result_projectcount STORED AS PARQUET as
create table if not exists ${stats_db_name}.result_projectcount STORED AS PARQUET as
select r.id, count(distinct p.id) as count
from ${stats_db_name}.result r
left outer join ${stats_db_name}.result_projects rp on rp.id=r.id