Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

andrewmbenton
Copy link
Collaborator

I'm pretty sure this logic makes sense, i.e. recursively convert convertSetOprSelectList nodes. There may be other unexpected node types that show up but I think handling these cases as they come up is the right approach.

Resolves #2453

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang labels Aug 5, 2025
@kyleconroy kyleconroy merged commit e3ad3b5 into main Aug 5, 2025
8 checks passed
@kyleconroy kyleconroy deleted the andrew/fix-aliased-union-panic branch August 5, 2025 16:35
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqlc panics on union all with subqueries using mysql
2 participants