We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's a reprex:
from frictionless import validate descriptor = { 'resources': [ { 'name': 'name', 'data': [ ['id1', 'id2'], ['a', '1'], ['a', None], ], 'schema': { 'fields': [ {'name': 'id1'}, {'name': 'id2'}, ], 'primaryKey': ['id1', 'id2'] } } ], } report = validate(descriptor)
From my understanding1 report.valid should be False because primary key columns cannot have null values but it returns True in frictionless==5.16.0.
report.valid
False
True
frictionless==5.16.0
The pattern Table Schema: Unique constraints that came from https://github.com/frictionlessdata/specs/issues/593 supports the case in which we need to prevent duplicates and store NULL values. ↩
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here's a reprex:
From my understanding1
report.valid
should beFalse
because primary key columns cannot have null values but it returnsTrue
infrictionless==5.16.0
.Footnotes
The pattern Table Schema: Unique constraints that came from https://github.com/frictionlessdata/specs/issues/593 supports the case in which we need to prevent duplicates and store NULL values. ↩
The text was updated successfully, but these errors were encountered: