Skip to content

Data Length Conditions

A Data Length condition matches a column based on the length, always measured in UTF-8 bytes, of its sampled values (a sampled subset; see Sampling) rather than their content, for example, flagging columns whose values are consistently longer than a typical free-text field.

  • Comparator — see Classifier Rules: Comparators for the shared numeric comparison options.
  • Length — the numeric cutoff each sampled value’s length is compared against.
  • Trim whitespace before evaluating — an optional toggle that strips leading and trailing whitespace before measuring length.
  • Match Threshold — the share of non-null sampled values that must satisfy the comparison for the condition to pass. Defaults to 80%.

This condition matches a column whose non-null sampled values are at least 100 UTF-8 bytes in length after trimming, requiring at least 80% of them to match:

{ "target": "DATA_LENGTH", "comparator": "greater_than_or_equal", "length": 100, "trim": true, "minimum_threshold": 80 }
  • Each non-null sampled value’s length (trimmed first, if that option is set) is compared against the cutoff. An all-null or empty column never passes.

  • A match on Data Length alone always produces a Low Match Confidence badge.

Data Length conditions evaluate on every classification job, with no gating by data source or processing location. See Classification Processing Location for the full picture.