forked from D-Net/dnet-hadoop
Merge branch 'stable_ids' into prepare_ror_actionset
This commit is contained in:
commit
b4877da363
|
@ -25,7 +25,7 @@ SELECT
|
|||
o.country || '@@@dnet:countries' AS country,
|
||||
array[]::text[] AS alternativenames,
|
||||
'sysimport:crosswalk:entityregistry@@@dnet:provenance_actions' AS provenanceaction,
|
||||
array_agg(DISTINCT i.pid || '###' || i.issuertype || '@@@dnet:pid_types') AS pid
|
||||
array_remove(array_agg(DISTINCT i.pid || '###' || i.issuertype || '@@@' || i.issuertype), NULL) AS pid
|
||||
FROM dsm_organizations o
|
||||
LEFT OUTER JOIN dsm_datasources d ON (d.id = o.collectedfrom)
|
||||
LEFT OUTER JOIN dsm_organizationpids p ON (p.organization = o.id)
|
||||
|
@ -51,4 +51,4 @@ GROUP BY
|
|||
o.trust,
|
||||
d.id,
|
||||
d.officialname,
|
||||
o.country;
|
||||
o.country
|
||||
|
|
Loading…
Reference in New Issue