The renaming report provides a comparative summary of the status before and after the migration, including databases, schemas, and object names
Important Notice: Migration of Documentation Website
Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:
Renaming and reporting are only available for top-level objects. Embedded objects will not appear in the report and renaming will not be applied to these objects.
CREATE TABLE Renaming_example_table_tl (
id INT,
name VARCHAR(100)
);
CREATE PROCEDURE Renaming_example_procedure()
LANGUAGE plpgsql
AS $$
BEGIN
CREATE TABLE Renaming_example_table_embedded (
id INT,
name VARCHAR(100)
);
SELECT * FROM Renaming_example_table_embedded;
SELECT * FROM Renaming_example_table_tl;
END;
$$;
CREATE TABLE Target_Renaming_example_table_tl (
id INT,
name VARCHAR(100)
)
COMMENT = '{ "origin": "sf_sc", "name": "snowconvert", "version": { "major": 0, "minor": 0, "patch": "0" }, "attributes": { "component": "redshift", "convertedOn": "11/13/2024", "domain": "test" }}';
CREATE PROCEDURE Target_Renaming_example_procedure ()
RETURNS VARCHAR
LANGUAGE SQL
COMMENT = '{ "origin": "sf_sc", "name": "snowconvert", "version": { "major": 0, "minor": 0, "patch": "0" }, "attributes": { "component": "redshift", "convertedOn": "11/13/2024", "domain": "test" }}'
AS $$
BEGIN
CREATE TABLE Renaming_example_table_embedded (
id INT,
name VARCHAR(100)
);
SELECT * FROM
Renaming_example_table_embedded;
SELECT * FROM
Target_Renaming_example_table_tl;
END;
$$;