fixed query reading projects from the aggregator DB
This commit is contained in:
parent
7a7e313157
commit
ab7f0855af
|
@ -33,7 +33,7 @@ SELECT
|
||||||
dc.officialname AS collectedfromname,
|
dc.officialname AS collectedfromname,
|
||||||
p.contracttype || '@@@' || p.contracttypescheme AS contracttype,
|
p.contracttype || '@@@' || p.contracttypescheme AS contracttype,
|
||||||
p.provenanceactionclass || '@@@' || p.provenanceactionscheme AS provenanceaction,
|
p.provenanceactionclass || '@@@' || p.provenanceactionscheme AS provenanceaction,
|
||||||
array_remove(array_agg(DISTINCT i.pid || '###' || i.issuertype || '@@@' || i.issuertype), NULL) AS pid,,
|
array_remove(array_agg(DISTINCT i.pid || '###' || i.issuertype || '@@@' || i.issuertype), NULL) AS pid,
|
||||||
array_agg(DISTINCT s.name || '###' || s.semanticclass || '@@@' || s.semanticscheme) AS subjects,
|
array_agg(DISTINCT s.name || '###' || s.semanticclass || '@@@' || s.semanticscheme) AS subjects,
|
||||||
array_agg(DISTINCT fp.path) AS fundingtree
|
array_agg(DISTINCT fp.path) AS fundingtree
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue