pub fn create_statement(
    scx: &StatementContext<'_>,
    stmt: Statement<Aug>
) -> Result<String, PlanError>
Expand description

Normalizes a CREATE statement.

The resulting statement will not depend upon any session parameters, nor specify any non-default options (like TEMPORARY, IF NOT EXISTS, etc).

The goal is to construct a backwards-compatible description of the object. SQL is the most stable part of Materialize, so SQL is used to describe the objects that are persisted in the catalog.