Beta stats wf updated #332

Merged
claudio.atzori merged 7 commits from antonis.lempesis/dnet-hadoop:beta into beta 2023-10-10 09:35:33 +02:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit be4856ef35 - Show all commits

View File

@ -41,8 +41,6 @@ cast(measures_ids.unit.value[0] as decimal(6,3)) score_dec, measures_ids.unit.va
from ${openaire_db_name}.result lateral view explode(measures) measures as measures_ids
where measures_ids.id!='views' and measures_ids.id!='downloads';
ANALYZE TABLE indi_impact_measures COMPUTE STATISTICS;
create table if not exists ${stats_db_name}.result_apc_affiliations STORED AS PARQUET as
select distinct substr(rel.target,4) id, substr(rel.source,4) organization, o.legalname.value name,
cast(rel.properties[0].value as double) apc_amount,