Fixing hardcoded reference to main openAIRE graph db #10

Merged
claudio.atzori merged 1 commits from spyros/dnet-hadoop:fixes_for_stats_wf into master 2020-05-10 12:24:48 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit ae0f535c73 - Show all commits

View File

@ -1,2 +1,2 @@
DROP TABLE IF EXISTS ${stats_db_name}.datasource_languages; DROP TABLE IF EXISTS ${stats_db_name}.datasource_languages;
CREATE TABLE ${stats_db_name}.datasource_languages AS SELECT substr(d.id, 4) as id, langs.languages as language from openaire.datasource d LATERAL VIEW explode(d.odlanguages.value) langs as languages; CREATE TABLE ${stats_db_name}.datasource_languages AS SELECT substr(d.id, 4) as id, langs.languages as language from ${openaire_db_name}.datasource d LATERAL VIEW explode(d.odlanguages.value) langs as languages;