Function mz_sql::pure::purify_alter_source

source ·
async fn purify_alter_source(
    catalog: impl SessionCatalog,
    stmt: AlterSourceStatement<Aug>,
    storage_configuration: &StorageConfiguration,
) -> Result<PurifiedStatement, PlanError>
Expand description

Equivalent to purify_create_source but for AlterSourceStatement.

On success, returns the details on new subsources and updated ‘options’ that sequencing expects for handling ALTER SOURCE statements.