[beta] stats update workflow #128

Merged
claudio.atzori merged 8 commits from antonis.lempesis/dnet-hadoop:beta into beta 2021-07-29 11:13:21 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 3d1580fa9b - Show all commits

View File

@ -20,7 +20,7 @@ WHERE r.reltype = 'resultProject'
create table ${stats_db_name}.project_classification as create table ${stats_db_name}.project_classification as
select substr(p.id, 4) as id, class.h2020programme.code, class.level1, class.level2, class.level3 select substr(p.id, 4) as id, class.h2020programme.code, class.level1, class.level2, class.level3
from ${openaire_db_name}project p from ${openaire_db_name}.project p
lateral view explode(p.h2020classification) classifs as class lateral view explode(p.h2020classification) classifs as class
where p.datainfo.deletedbyinference=false and class.h2020programme is not null; where p.datainfo.deletedbyinference=false and class.h2020programme is not null;