Merge pull request 'removed hardcoded reference' (#154) from antonis.lempesis/dnet-hadoop:beta into beta

Reviewed-on: D-Net/dnet-hadoop#154
This commit is contained in:
Claudio Atzori 2021-11-02 09:11:30 +01:00
commit 7fa49f6956
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ FROM ${stats_db_name}.project_tmp p
UPDATE ${stats_db_name}.publication_tmp UPDATE ${stats_db_name}.publication_tmp
SET delayed = 'yes' SET delayed = 'yes'
WHERE publication_tmp.id IN (SELECT distinct r.id WHERE publication_tmp.id IN (SELECT distinct r.id
FROM stats_wf_db_obs.result r, FROM ${stats_db_name}.result r,
${stats_db_name}.project_results pr, ${stats_db_name}.project_results pr,
${stats_db_name}.project_tmp p ${stats_db_name}.project_tmp p
WHERE r.id = pr.result WHERE r.id = pr.result
@ -75,7 +75,7 @@ WHERE publication_tmp.id IN (SELECT distinct r.id
UPDATE ${stats_db_name}.dataset_tmp UPDATE ${stats_db_name}.dataset_tmp
SET delayed = 'yes' SET delayed = 'yes'
WHERE dataset_tmp.id IN (SELECT distinct r.id WHERE dataset_tmp.id IN (SELECT distinct r.id
FROM stats_wf_db_obs.result r, FROM ${stats_db_name}.result r,
${stats_db_name}.project_results pr, ${stats_db_name}.project_results pr,
${stats_db_name}.project_tmp p ${stats_db_name}.project_tmp p
WHERE r.id = pr.result WHERE r.id = pr.result