Snowflake renameView

Last updated: March 26, 2026

Renames an existing Snowflake view, with support for cross-schema and cross-database moves.

Note: Automatic rollback renames the view back to original name.

Known limitations:

  • Snowflake snapshots created with Liquibase Secure 5.1 are incompatible with earlier versions due to enhanced object type detection for TABLES and VIEWS. Regenerate all snapshots with 5.1 after upgrading to avoid false differences in diff and diff-changelog operations.

  • The Liquibase renameView change type is not compatible for Snowflake users in Liquibase Secure 5.1 using YAML or JSON change type formats. This does not affect XML change types at all. If you’re connecting to a Snowflake database, Liquibase automatically detects that you are using the Snowflake renameView change type and breaks backwards compatibility with the Liquibase renameView change type. We recommend upgrading to Liquibase Secure 5.1.1 to use createView with YAML and JSON change type formats successfully.

Available attributes

Attribute

Type

Description

Required

oldCatalogName

String

Name of the database containing the view to rename

No

oldSchemaName

String

Name of the schema containing the view to rename

No

oldViewName

String

Current name of the view

Yes

newCatalogName

String

Target database name (for cross-database rename)

No

newSchemaName

String

Target schema name (for cross-schema rename)

No

newViewName

String

New name for the view

Yes

ifExists

Boolean

If true, do not throw an error if the view doesn't exist

No

loading

loading

loading

loading