fhir-data-pipes
fhir-data-pipes copied to clipboard
Remove deleted resources when exporting to sink FHIR store and database during incremental run
During incremental run, the deleted resources have to be deleted from the sink FHIR store path and the database. Currently, as part of the fix #547 these deleted resources will be removed from the merged parquet files.
Can you explain the difference between this and #547 ? Is this bug more about handling the case if the export target is a FHIR store and #547 is about deleting the resource in the case of exporting to parquet file?
Yes, this is just an extension for #547 to handle the case where the export target is a FHIR store or another JDBC store like Postgres. Since these cases were not in immediate priority, created this ticket to be handled later on.
Got it. Thanks for the explanation.
Given that our "database as DWH" story is maturing (especially with support for SQL-on-FHIR-v2 views), this bug is more important to be fixed. There is also some renewed interest in syncing to another FHIR store (e.g., #825) which again is relevant to this bug. So changing the priority accordingly.