Snowflake string escapes#18
Merged
Vedin merged 2 commits intoJul 2, 2026
Merged
Conversation
…ified table
Snowflake (verified against the live service) decodes octal \o..\ooo
(greedy, 1-3 digits), hex \xhh and unicode \u+4-hex escapes (malformed
ones are compilation errors), and the C-style \b \f \n \r \t; \' \"
\\ escape themselves; any other escaped character keeps the character
and drops the backslash ('\a' = 'a', '\Z' = 'Z' — NOT the MySQL BEL/^Z
mappings the shared table applied before).
Gated behind a new dialect hook supports_snowflake_string_literal_escapes
(default false) so no other dialect changes behavior.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The 1.86.0 pin broke on dependency resolution unrelated to any code change: sqlparser's recursive-protection feature pulls recursive -> stacker -> psm, and the freshly released psm 0.1.31 adds a build-dependency on ar_archive_writer 0.5.2, which requires rustc 1.88. Neither crate commits a lockfile, so the lint jobs resolve latest versions and benchmark-lint failed at resolution. Both clippy jobs verified clean locally on 1.89.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
No description provided.