Skip to content

parser: fix parsing string literal type cast#446

Merged
kodiakhq[bot] merged 2 commits intomasterfrom
steved-fix-parsing-string-literal-type-cast
May 7, 2025
Merged

parser: fix parsing string literal type cast#446
kodiakhq[bot] merged 2 commits intomasterfrom
steved-fix-parsing-string-literal-type-cast

Conversation

@sbdchd
Copy link
Owner

@sbdchd sbdchd commented May 7, 2025

previously we'd parse:

select t 1;

as a type cast, but this sort of type cast is only valid when we're using a string literal!

Now we're more restrictive

previously we'd parse:

```sql
select t 1;
```

as a type cast, but this sort of type cast is only valid when we're
using a string literal!

Now we're more restrictive
@sbdchd sbdchd added the automerge automerge with kodiak label May 7, 2025
@kodiakhq kodiakhq bot merged commit b04a423 into master May 7, 2025
26 checks passed
@kodiakhq kodiakhq bot deleted the steved-fix-parsing-string-literal-type-cast branch May 7, 2025 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge automerge with kodiak

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant