risingwave_frontend::handler::create_table_as

Function handle_create_as

source
pub async fn handle_create_as(
    handler_args: HandlerArgs,
    table_name: ObjectName,
    if_not_exists: bool,
    query: Box<Query>,
    column_defs: Vec<ColumnDef>,
    append_only: bool,
    on_conflict: Option<OnConflict>,
    with_version_column: Option<String>,
) -> Result<RwPgResponse, RwError>