Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: implement transform to add column names to recursive CTEs #1687

Merged
merged 3 commits into from
May 24, 2023

Conversation

georgesittas
Copy link
Collaborator

Fixes #1683

sqlglot/transforms.py Outdated Show resolved Hide resolved
sqlglot/transforms.py Outdated Show resolved Hide resolved
@tobymao tobymao merged commit 1cb9614 into main May 24, 2023
@tobymao tobymao deleted the jo/add_columns_to_recursive_cte branch May 24, 2023 20:36
adrianisk pushed a commit to adrianisk/sqlglot that referenced this pull request Jun 21, 2023
…mao#1687)

* Feat: implement transform to add column names to recursive CTEs

* Add names to unnamed projections

* Use alias_or_name, and fix AST with to_identifier
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.

Trino recursive CTE requires column list
3 participants