Skip to content

Snowflake: Add ALTER EXTERNAL VOLUME - #2474

Draft
sabir-akhadov-localstack wants to merge 2 commits into
apache:mainfrom
localstack:pr/07-alter-external-volume
Draft

Snowflake: Add ALTER EXTERNAL VOLUME#2474
sabir-akhadov-localstack wants to merge 2 commits into
apache:mainfrom
localstack:pr/07-alter-external-volume

Conversation

@sabir-akhadov-localstack

@sabir-akhadov-localstack sabir-akhadov-localstack commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Snowflake's ALTER EXTERNAL VOLUME did not parse:

ALTER EXTERNAL VOLUME my_vol ADD STORAGE_LOCATION = (
    NAME = 'loc2' STORAGE_PROVIDER = 'S3' STORAGE_BASE_URL = 's3://bucket2/');
ALTER EXTERNAL VOLUME my_vol SET ALLOW_WRITES = TRUE;
ALTER EXTERNAL VOLUME my_vol REMOVE STORAGE_LOCATION 'loc1';

This adds an AlterExternalVolume statement with the three documented operations (ADD STORAGE_LOCATION, SET ALLOW_WRITES, REMOVE STORAGE_LOCATION). The added storage location reuses the same generic KeyValueOptions parsing as CREATE EXTERNAL VOLUME. All statements round-trip.

See the Snowflake ALTER EXTERNAL VOLUME docs.

Split out of #2397 per review feedback, alongside the CREATE/DROP (#2475), DESC (#2472), and SHOW (#2473) PRs.

Stacked on #2475 (it reuses the storage-location parsing helper introduced there) — only the last commit is new. Kept as a draft until #2475 merges, then it will be rebased.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant