Expand description
Identifier validation for database objects.
Validates that identifiers (database, schema, object, and cluster names) follow Materialize’s naming rules: lowercase letters, digits, underscores, and dollar signs, starting with a letter or underscore.
Enums§
- Identifier
Kind 🔒 - The type of identifier being validated (for error messages).
Functions§
- validate_
cluster_ 🔒name - Validates a cluster name follows naming rules.
- validate_
fqn_ 🔒identifiers - Validates all identifiers in a FullyQualifiedName (database, schema, object).
- validate_
ident 🔒 - Validates that the statement’s identifier matches the expected file path structure.
- validate_
identifier_ 🔒format - Validates an identifier follows naming rules.