Closed Rafnuss closed 2 weeks ago
Actually reading more on this , I realised this dependant on fieldsMatch
. Maybe a more complex solution is required?
Hi @Rafnuss, you (and many others, including me) want optional and reordered fields.
This feature that is not supported in Data Package 1.0, which is the version that frictionless currently implements. So right now, you (annoyingly) need to add all columns in your data, even if those are empty. Or you will need to do some preprocessing on your schema before adding it to your resource.
The feature has indeed been added as fieldsMatch in Data Package 2.0. Frictionless currently doesn't support 2.0 yet, but we aim to do so (including fieldMatch). Fully supporting v2 is a daunting task though, so it won't be soon.
I'm not expecting an error message when adding a resource which has a column missing which is not required according to the schema.
Here [https://raw.githubusercontent.com/Rafnuss/GeoLocator-DP/main/measurements-table-schema.json] does not require the
valid
column, which is missing in my data.Also I am not sure why providing in the same order than in the schema is necessary. Is it no possible to re-order the data according to schema?