-
Notifications
You must be signed in to change notification settings - Fork 500
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
File Reingest API #4865
Comments
…k it would need a little more in order to move this into "done"; will update the github issue with details. (#4865)
Status update:
Also, I didn't like using the term "reingest" for this. Strictly speaking, "reingest" would be attempting to ingest something as tabular data AGAIN; i.e. running ingest on something that's not yet a tabular file. (I see a use case for that too - for example, if an updated ingest plugin fixes some ingest issues that need to be corrected...). So I would save the word "reingest" for that. I called this api call /api/files/{id}/ingestAsTabular |
Why wouldn't both of these cases be the same API? Maybe it should be called |
…ype was not properly identified previously. Added extra diagnostics (ref #4865)
Yeah, I decided to use the same API for both. And to call it "reingest" after all. |
For QA: An easy way to upload stata, etc. files without ingesting is tabular is to set the limit (:TabularIngestSizeLimit) to something very low.
You have to be superuser. |
Since ingest limits can change, should we remove the code that checks if the format is one that we've changed ingest process for? |
Not sure I got that, sorry - remove what code? |
Never mind, I must have imagined this functionality. |
let me fix the already-ingested-as-tabular check real quick... |
This is documented in the Native API guide. |
We've added support for new versions of Stata in #2301. Following the release of the code for #2301, we should reingest the files in production that had previously failed ingest due to being an unsupported Stata version. An API endpoint instead of a db script seems the best way to go for community and reusability purposes.
This should not be a version change and it's OK if the citation gets a UNF added or changed as a result of the reingest.
@landreev you mentioned you wanted to put in a few notes as well
The text was updated successfully, but these errors were encountered: