Skip to content

Conversation

@tobymao
Copy link
Owner

@tobymao tobymao commented Nov 20, 2025

No description provided.

for query in scope.subqueries:
subquery = query.parent
if isinstance(subquery, exp.Subquery):
subquery.unwrap().replace(subquery)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to fix the scope's state, e.g. reset cache?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don’t think so, not sure scope changes at all

@tobymao tobymao merged commit df13a65 into main Nov 20, 2025
7 checks passed
@tobymao tobymao deleted the toby/unnest branch November 20, 2025 15:42
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.

4 participants