Skip to content

feat(snowflake): parse star ILIKE transform (was mis-parsed as LikeExpr, dropping FROM)#302

Merged
h3n4l merged 1 commit into
mainfrom
fix/snowflake/star-ilike
Jun 11, 2026
Merged

feat(snowflake): parse star ILIKE transform (was mis-parsed as LikeExpr, dropping FROM)#302
h3n4l merged 1 commit into
mainfrom
fix/snowflake/star-ilike

Conversation

@h3n4l

@h3n4l h3n4l commented Jun 11, 2026

Copy link
Copy Markdown
Member

Star ILIKE transform was mis-parsed: the infix expression parser bound * ILIKE %pattern% into a LikeExpr, ate following transforms as aliases, and silently dropped FROM (same class as #301; corpus select/12/15). Fix: post-parse unwrap at the select-target boundary (exactly LikeExpr{ILike,!Not,!Any,no-Escape} over StarExpr + string literal → SelectTarget.Ilike Literal), docs order ILIKE→EXCLUDE→REPLACE→RENAME with the #301 fail-loud guard extended; COUNT( ILIKE …) untouched (pre-existing loud-error gap, chip filed). Walker regen + deparse + 19 tests incl corpus-text asserts; full suite green. Verified on fresh checkout of 28d97ca.

🤖 Generated with Claude Code

@h3n4l h3n4l merged commit 124fa5c into main Jun 11, 2026
2 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