Module catalog

Source
Expand description

Persistent metadata storage for the coordinator.

Modulesยง

apply ๐Ÿ”’
Logic related to applying updates from a mz_catalog::durable::DurableCatalogState to a CatalogState.
builtin_table_updates ๐Ÿ”’
consistency ๐Ÿ”’
Internal consistency checks that validate invariants of CatalogState.
migrate ๐Ÿ”’
open ๐Ÿ”’
Logic related to opening a Catalog.
state ๐Ÿ”’
In-memory metadata storage for the coordinator.
timeline ๐Ÿ”’
Logic related to timelines.
transact ๐Ÿ”’
Logic related to executing catalog transactions.

Structsยง

BuiltinTableUpdate
An update to a built-in table.
Catalog
A Catalog keeps track of the SQL objects known to the planner.
CatalogPlans
CatalogState
The in-memory representation of the Catalog. This struct is not directly used to persist metadata to persistent storage. For persistent metadata see mz_catalog::durable::DurableCatalogState.
ConnCatalog
InitializeStateResult
OpenCatalogResult
TransactionResult

Enumsยง

DropObjectInfo
Almost the same as ObjectId, but the ClusterReplica case has an extra ReplicaCreateDropReason field. This is forwarded to mz_audit_events.details when applying the Op::DropObjects.
Op
ReplicaCreateDropReason
The reason for creating or dropping a replica.
UpdatePrivilegeVariant

Functionsยง

catalog_type_to_audit_object_type ๐Ÿ”’
comment_id_to_audit_object_type ๐Ÿ”’
is_public_role
is_reserved_name
is_reserved_role_name
object_type_to_audit_object_type ๐Ÿ”’
system_object_type_to_audit_object_type ๐Ÿ”’