Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deleted resources when exporting to sink FHIR store and database during incremental run #588

Closed
chandrashekar-s opened this issue Mar 15, 2023 · 4 comments · Fixed by #1183
Assignees
Labels
bug Something isn't working P1:must As issue that definitely needs to be implemented in near future.

Comments

@chandrashekar-s
Copy link
Collaborator

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.

@jjtswan
Copy link
Collaborator

jjtswan commented Mar 17, 2023

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?

@chandrashekar-s
Copy link
Collaborator Author

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.

@jjtswan
Copy link
Collaborator

jjtswan commented Mar 20, 2023

Got it. Thanks for the explanation.

@jjtswan jjtswan changed the title Remove deleted resources in the sink FHIR store and database during incremental run Remove deleted resources when exporting to sink FHIR store and database during incremental run Mar 27, 2023
@bashir2 bashir2 added bug Something isn't working P1:must As issue that definitely needs to be implemented in near future. labels Feb 9, 2024
@bashir2
Copy link
Collaborator

bashir2 commented Feb 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1:must As issue that definitely needs to be implemented in near future.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants