forked from D-Net/dnet-hadoop
Merge pull request 'Fixing hardcoded reference to main openAIRE graph db' (#10) from spyros/dnet-hadoop:fixes_for_stats_wf into master
This commit is contained in:
commit
7605be5306
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue