dnet-hadoop/dhp-workflows/dhp-stats-update/src/main/resources/graph/oozie_app/scripts/step6_9.sql

2 lines
231 B
SQL

create table ${stats_db_name}.otherresearchproduct_pids as select substr(p.id, 4) as id, ppid.qualifier.classname as type, ppid.value as pid from ${openaire_db_name}.otherresearchproduct p lateral view explode(p.pid) pids as ppid;