Skip to content

New Check: String Min Length #20

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

Closed
flitzpiepe93 opened this issue May 7, 2025 · 1 comment
Closed

New Check: String Min Length #20

flitzpiepe93 opened this issue May 7, 2025 · 1 comment
Labels
enhancement New feature or request feature request

Comments

@flitzpiepe93
Copy link
Contributor

New Check: String Min Length

Description

Create a check to validate that all (or most) strings in a column meet a minimum length requirement.

Example Usage

StringMinLengthCheckConfig(
    check_id="zone-names-not-too-short",
    column="Zone",
    min_length=3
)

Expected Behavior

  • Validates that all non-null string values in the column have a length greater than or equal to min_length
  • Fails the check if one or more values fall below the threshold (depending on strictness configuration)
  • Should optionally return failed rows or summary only

Benefits

  • Detects truncated or malformed string data
  • Useful for enforcing basic formatting rules on text fields
@flitzpiepe93
Copy link
Contributor Author

This issue was resolved as part of Merge Request #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

1 participant