stats_wf_extensions_and_corrections #28

Merged
claudio.atzori merged 22 commits from spyros/dnet-hadoop:stats_wf_extensions_and_corrections into master 2020-07-27 16:02:04 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 1ee7eeedf3 - Show all commits

View File

@ -27,4 +27,4 @@ INSERT INTO ${stats_db_name}.project_tmp SELECT substr(p.id, 4) AS id, p.acronym
create table ${stats_db_name}.funder as
select distinct xpath_string(fund, '//funder/id') as id, xpath_string(fund, '//funder/name') as name, xpath_string(fund, '//funder/shortname') as shortname
from project p lateral view explode(p.fundingtree.value) fundingtree as fund
from ${openaire_db_name}.project p lateral view explode(p.fundingtree.value) fundingtree as fund