Repository navigation
feat: preserve Snowflake CREATE SCHEMA modifiers - #52
Merged
osipovartem merged 24 commits intoNov 13, 2026
Merged
osipovartem merged 24 commits into
osipovartem merged 24 commits into
Conversation
Preserve quoted identifiers and spans in Snowflake COPY transformations
Preserve zero-padded staged placeholders in COPY AST
…ot-exists Parse Snowflake ALTER TABLE ADD COLUMN IF NOT EXISTS
* test(snowflake): preserve CREATE DATABASE batch delimiters * test(snowflake): use canonical single-statement comment formatting * fix(snowflake): leave CREATE DATABASE delimiters to statement parser * test(snowflake): format CREATE DATABASE regression controls * ci: run license audit on supported Python and fail on tool errors
Snowflake: Accept storage integration after stage endpoint
Snowflake: Add typed warehouse statements
Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit e727809)
Backport native DESCRIBE DATABASE/SCHEMA parsing
…261113 Snowflake: parse CREATE SCHEMA comment and retention options
…ons-20261113 Support Snowflake ALTER SCHEMA SET/UNSET properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Preserve Snowflake
CREATE [OR REPLACE] [TRANSIENT] SCHEMA ... [WITH MANAGED ACCESS]as native AST fields rather than losing modifiers or reparsing SQL in downstream consumers. The publicparse_create_schema()entry point is preserved; the private helper carries admitted flags. Existing COMMENT/retention options and CLONE compose with the new grammar.Dialect capability checks preserve other dialects' behavior. Unsupported TEMP/TEMPORARY/PERSISTENT/SECURE/global and OR ALTER forms still reject. Display emits canonical syntax; serde defaults accept older serialized ASTs.
Reference: Snowflake CREATE SCHEMA syntax.
Compatibility
The three new fields (
or_replace,transient,with_managed_access) are a Rust AST source change: exhaustive constructors/patterns must be updated. Serde defaults do not remove that source compatibility requirement. DataFusion and Rustice will be pinned coherently to this revision; unsupported execution modifiers must be rejected, not silently discarded. This parser PR itself enables no schema replacement or managed-access authorization semantics.Validation
-D warningspassed.