Skip to content

Conversation

@chdsbd
Copy link
Collaborator

@chdsbd chdsbd commented May 12, 2025

we were handling

SELECT (
  (SELECT c FROM t)
  UNION
  SELECT c FROM u
) LIMIT 1;

but not

SELECT (
  (SELECT c FROM t)
  UNION
  (SELECT c FROM u)
) LIMIT 1;

related: #463

chdsbd and others added 2 commits May 12, 2025 09:25
we were handling

```sql
SELECT (
  (SELECT c FROM t)
  UNION
  SELECT c FROM u
) LIMIT 1;
```

but not

```sql
SELECT (
  (SELECT c FROM t)
  UNION
  (SELECT c FROM u)
) LIMIT 1;
```
@sbdchd sbdchd added the automerge automerge with kodiak label May 12, 2025
@sbdchd sbdchd changed the title add test case for panic parser: add test case for panic May 12, 2025
@sbdchd sbdchd changed the title parser: add test case for panic parser: fix parsing nested compound select with parens May 12, 2025
@sbdchd sbdchd marked this pull request as ready for review May 12, 2025 13:54
@kodiakhq kodiakhq bot merged commit 576ae9c into master May 12, 2025
27 checks passed
@kodiakhq kodiakhq bot deleted the compound-select branch May 12, 2025 13:54
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.

3 participants