From 0a5c4a28260a041e887ecb4b83354b413c4038f4 Mon Sep 17 00:00:00 2001 From: "michele.artini" Date: Thu, 8 Sep 2022 15:32:10 +0200 Subject: [PATCH] use of deprecated field in a sql script --- .../sql/recent_registered_datasources_fromDate_typology.st.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dnet-exporter-api/src/main/resources/eu/dnetlib/openaire/sql/recent_registered_datasources_fromDate_typology.st.sql b/apps/dnet-exporter-api/src/main/resources/eu/dnetlib/openaire/sql/recent_registered_datasources_fromDate_typology.st.sql index 1af6acd7..7abca790 100644 --- a/apps/dnet-exporter-api/src/main/resources/eu/dnetlib/openaire/sql/recent_registered_datasources_fromDate_typology.st.sql +++ b/apps/dnet-exporter-api/src/main/resources/eu/dnetlib/openaire/sql/recent_registered_datasources_fromDate_typology.st.sql @@ -6,7 +6,7 @@ from left outer join dsm_organizations o on (o.id = dso.organization) where d.registrationdate >= cast(? as date) - and d.eosc_datasource_type like ? + and d._typology_to_remove_ like ? and d.registrationdate < a.last_collection_date and d.registeredby is not null and d.managed = true