Change Intelligence is coming.

alterStageDirectoryTable

Last updated: July 13, 2026

Enables, disables, or refreshes the directory table for an existing stage in Snowflake. Directory tables track metadata for files in stages.

Note: This change type does not support automatic rollback.

Available attributes

Attribute

Type

Description

Required

catalogName

String

Name of the catalog (database) containing the stage

No

schemaName

String

Name of the schema containing the stage

No

stageName

String

Name of the stage to alter

Yes

ifExists

Boolean

Don't error if the stage doesn't exist

No

enable

Boolean

Enable (true) or disable (false) the directory table*

No

refresh

Boolean

Refresh the directory table metadata*

No

subPath

String

Subdirectory path to refresh (only with refresh=true)

No

* Exactly one of enable or refresh must be specified (mutually exclusive).

loading

loading

loading

loading