Skip to content

Snowflake: parse CREATE SCHEMA ... [WITH] TAG (...) - #23

Merged
hovaesco merged 1 commit into
snowflake/create-stream-append-onlyfrom
lav-1598-create-schema-tag
Aug 12, 2026
Merged

Snowflake: parse CREATE SCHEMA ... [WITH] TAG (...)#23
hovaesco merged 1 commit into
snowflake/create-stream-append-onlyfrom
lav-1598-create-schema-tag

Conversation

@hovaesco

Copy link
Copy Markdown

Intercept the inline [WITH] TAG (<t> = '<v>', ...) clause on CREATE SCHEMA before the Trino WITH (k='v') option list and record it on CreateSchema.with_tags, mirroring CREATE DATABASE. Previously CREATE SCHEMA s WITH TAG (t='v') failed with Expected: (, found: TAG. WITH MANAGED ACCESS and the Trino option list are unaffected.

Supports LAV-1598 (inline WITH TAG on CREATE DATABASE/SCHEMA).

The pinned fork routed any WITH after CREATE SCHEMA into the Trino
option list, so CREATE SCHEMA s WITH TAG (t='v') failed with
Expected: (, found: TAG. Intercept the inline [WITH] TAG (...) clause
before the Trino WITH branch and record it on CreateSchema.with_tags,
mirroring CREATE DATABASE. WITH MANAGED ACCESS and WITH (k='v') are
unaffected.
@hovaesco
hovaesco merged commit 7f2358e into snowflake/create-stream-append-only Aug 12, 2026
5 of 19 checks passed
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