Column name exists (schema validation)¶
table_column_name_to_exist - Table-level
Validates that a table has a column with a given name.
Parameters¶
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
column_name |
str | none | Yes | The column name that must exist. Can also be set as the check's own column. |
YAML example¶
checks:
- name: example_table_column_name_to_exist
check_type: table_column_name_to_exist
table_name: schema.table
parameters:
column_name: <column_name>
See YAML check format for the full field reference.