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 |
|---|---|---|---|
| String | Name of the catalog (database) containing the stage | No |
| String | Name of the schema containing the stage | No |
| String | Name of the stage to alter | Yes |
| Boolean | Don't error if the stage doesn't exist | No |
| Boolean | Enable (true) or disable (false) the directory table* | No |
| Boolean | Refresh the directory table metadata* | No |
| String | Subdirectory path to refresh (only with | No |
* Exactly one of enable or refresh must be specified (mutually exclusive).
loading
loading
loading
loading