Skip to content

Document not empty

json_xml_not_empty - Column-level - JSON and XML

Validates that a JSON or XML column's non-null values aren't empty.

Parameters

Parameter Type Default Required Description
threshold_percent float 0.0 No Fail if the percentage of empty documents exceeds this.

YAML example

checks:
  - name: example_json_xml_not_empty
    check_type: json_xml_not_empty
    table_name: schema.table
    column_name: example_column
    parameters:
      threshold_percent: 0.0

See YAML check format for the full field reference.