Event Upsert #75
Labels
enhancement
New feature or request
pending-review
issues which have corresponding PRs which have a pending review/merge from the maintainer.
@ChakshuGautam Please review the approach and suggest if any changes required
Issue with Event Upsert
Previously Discussed Approach-> When an event file is uploaded, check if there is already a event file for today. If there is a file then get the name of the system file for that event Create a CSV file with same name and upload. So that the old data file will be replaced with updated data
But with the above approach, if the state team wants to upload new data second time in a day , then their old data will be replaced so will loose the previously uploaded data as it overrides the data.
Proposed Approach for Event Upsert
Will create a new API as PUT /ingestion/event
Using this API they can update the data
And for uploading new data they can use the existing /ingestion/new_programs API for uploading more than once in a day
The text was updated successfully, but these errors were encountered: