Skip to main content

repoint_dependent_sinks

Function repoint_dependent_sinks 

Source
async fn repoint_dependent_sinks(
    client: &Client,
    plan: &DeploymentPlan,
) -> Result<(), CliError>
Expand description

Repoint sinks that depend on objects in schemas about to be dropped.

Re-queries post-swap (cannot use plan.dependent_sinks because schema names differ after swap). Reads plan.staging_schemas and plan.staging_suffix.