Skip to content

New Check: String Max Length #21

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 Max Length #21

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 Max Length

Description

Create a check to validate that all (or most) strings in a column do not exceed a maximum length.

Example Usage

StringMaxLengthCheckConfig(
    check_id="zone-names-not-too-long",
    column="Zone",
    max_length=50
)

Expected Behavior

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

Benefits

  • Detects values that may be improperly parsed or exceed expected input constraints
  • Helps enforce data formatting and storage constraints
@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