Skip to content
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

fix: add assertion and hints for isContainedIn and hasPattern #157

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

chenliu0831
Copy link
Contributor

Issue #, if available: #142

Description of changes:

FIx #142. The constraint suggested comes Deequ and the isContainedIn method did not support assertion and hint parameters. This PR adds it back.

In addition, we add theis_one check function and set it as default for hasPattern and isContainedIn function. This is consistent with the Deequ's default value for assertion, see https://github.com/awslabs/deequ/blob/d3dbe2d77563fdbe0acaadcf55bd84e5f688027f/src/main/scala/com/amazon/deequ/checks/Check.scala#L1084.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@chenliu0831 chenliu0831 merged commit e74e974 into master Sep 22, 2023
8 checks passed
@chenliu0831 chenliu0831 deleted the fix/issue_142 branch September 22, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion code for isContainedIn does not work
1 participant