Conversation
Handling the possible errors
I know I'll change the API, so not many details in the documentation for now.
Moving back to a flat generic features table to allow a proof of concept. This is certainly not the way of storing this, but it allows to move the other parts forwards before thinking about the best schema.
Custom Result is based on custom Errors for this crate, so it has a better and consistem error handling along the full crate.
It is too early for integration tests. The API will change, so it's not worth to harness sampling data yet. Note that I'm still running locally with real data, so it won't be too off.
Member
Author
|
Only a proof of concept to parse the features from a standard CSV and load into the internal database. The features table is still poorly defined, but developing the output should guide it better. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A proof of concept on parsing features from the default output from Paul's model.
This is the most unclear part in the pipeline for me, so better handle this early to shape the following decisions. Read the CSV is not a problem, but how to have an actionable database with such heterogenous records while keeping it flexible for future changes.
The goal here is to load the features in the database, thus modify the table features as needed to have actionable records. For now, don't worry on having version controlled data.