[stats] updates in the mapping, indicators, wf #145

Merged
claudio.atzori merged 14 commits from antonis.lempesis/dnet-hadoop:beta into beta 2021-09-27 15:59:55 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 461bf90ca6 - Show all commits

View File

@ -17,6 +17,6 @@ left outer join ${stats_db_name}.indi_pub_green_oa green on green.id=r.id;
-- GOLD OA:
create table ${stats_db_name}.result_gold as
select r.id, case when green.green_oa=1 then true else false end as green
select r.id, case when gold.gold_oa=1 then true else false end as gold
from ${stats_db_name}.result r
left outer join ${stats_db_name}.indi_pub_gold_oa green on green.id=r.id;
left outer join ${stats_db_name}.indi_pub_gold_oa gold on gold.id=r.id;