Skip to main content

Module identifiers

Module identifiers 

Source
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§

IdentifierKind 🔒
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.