EHDEN / CatalogueExport

Exports the data from the OMOP-CDM that is necessary for the EHDEN Database Catalogue
Apache License 2.0
9 stars 6 forks source link

Export fails for some subsets of analysIds #43

Open MaximMoinat opened 2 years ago

MaximMoinat commented 2 years ago

This happens if only 'regular' or only 'dist' analysis types are executed.

For instance, if only analysis 406 is executed, then the catalogue_results table is not created. Then, the export function fails.

https://github.com/EHDEN/CatalogueExport/blob/066b8e7005890ae916e19a92a61c815e1fec7ff8/inst/sql/sql_server/export/raw/export_raw_catalogue_results.sql#L1-L22

MaximMoinat commented 2 years ago

Won't fix as this is an edge case.