Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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.

# for free to join this conversation on GitHub. Already have an account? # 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