Skip to content

Case (UPPER/lower)

string_case - Column-level - String

Validates that non-null string values match an expected case, upper or lower.

Parameters

Parameter Type Default Required Description
case str 'upper' No The case every non-null value is expected to match. One of: upper, lower.
threshold_percent float 0.0 No Fail if the percentage of non-matching values exceeds this.

YAML example

checks:
  - name: example_string_case
    check_type: string_case
    table_name: schema.table
    column_name: example_column
    parameters:
      case: upper
      threshold_percent: 0.0

See YAML check format for the full field reference.