Skip to content

Regression in behavior of check comparator function isGreaterThanOrEqualTo #227

@PDEUXA

Description

@PDEUXA

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions