risingwave_meta::controller::rename

Function replace_table_name

source
fn replace_table_name(table_name: &mut ObjectName, to: &str)
Expand description

Replace the last ident in the table_name with the given name, the object name is ensured to be non-empty. e.g. schema.table or database.schema.table.