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

Regression in behavior of check comparator function isGreaterThanOrEqualTo #227

Open
PDEUXA opened this issue Aug 7, 2024 · 0 comments
Open

Comments

@PDEUXA
Copy link

PDEUXA commented Aug 7, 2024

Describe the bug
From new pydeequ version > 1.2.0; the behavior of the following differ on check isGreaterThanOrEqualTo:
in old version this works:

.isGreaterThanOrEqualTo(
                "cluster_size", "1", hint="Cluster should have a least one element"
            )

but In new version, the function expect a column, and the following error is raised (in constraint message):
Input data does not include column 1!

Expected behavior
isGreaterThanOrEqualTo should be able to compare columns to literals

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS M1
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

No branches or pull requests

1 participant