-
Notifications
You must be signed in to change notification settings - Fork 118
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
SummaryConstraint: Table shape constraints #398
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
I left a few comments, mostly about styles.
I don't know if this was discussed with Jamie, but should the code be PEP8 compliant?
…le needed for implementation, modify DatasetConstraints accordingly, tests for table shape constraints and DatasetConstraints serialization
…rt. Modify the DatasetConstrains serialization test.
…ryConstraint.from_protobuf.
…d coerced value constraints
d909dc9
to
76cd87f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When ready, point to mainline and I can take another look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve conflicts (hopefully that also triggers CI to run and report test status, looks like the last test run never reported status).
Pull Request Test Coverage Report for Build 1746469670Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General implementation looks good. I think there are some edge cases not handled I left a comment on.
…sts for sequential logging. Parameterize set length.
Description
columnExistsConstraint
numberOfRowsConstraint
columnsMatchSetConstraint
Evaluated using apply_table_shape_constraints
Attribute table_shape_constraints in DatasetConstraints
Attribute total_row_number in DatasetProfile
Tests for DatasetConstraints serialization/deserialization as changes in proto DatasetConstraintMsg were required
Tests for table shape constraints
General Checklist
if it was a bug, test must cover it.