Expand description
Cluster definition loading and validation.
Loads cluster definitions from <root>/clusters/ directory. Each .sql file
defines a single cluster with a required CREATE CLUSTER statement and optional
GRANT and COMMENT statements.
Structsยง
- Cluster
Definition ๐ - A parsed cluster definition from a
.sqlfile in theclusters/directory.
Functionsยง
- apply_
cluster_ ๐suffix - Apply a suffix to all cluster name references within a
ClusterDefinition. - classify_
cluster_ ๐statements - Classify parsed statements into a
ClusterDefinition, returning validation errors. - load_
clusters ๐ - Load all cluster definitions from
<root>/clusters/. - suffixed_
ident ๐ - Append a suffix to an
Ident, returning a newIdent.