Skip to content

Conversation

kryonix
Copy link
Contributor

@kryonix kryonix commented Mar 28, 2024

Change FindCTE to return a vector of all candidate CTEs instead of just one CTE. This vector is used to implement a retry mechanism in bind_basetableref.cpp. Only if binding fails for all CTEs, the appropriate exception is thrown.

Fixes #11391

Change FindCTE to return a vector of all candidate CTEs instead
of just one CTE. This vector is used to implement a retry mechanism
in bind_basetableref.cpp. Only if binding fails for all CTEs, the
appropriate exception is thrown.

Fixes duckdb#11391
@kryonix kryonix changed the title Improve basetableref binding of CTEs Improve binding of CTEs Mar 28, 2024
@Mytherin Mytherin merged commit 13f2724 into duckdb:main Apr 2, 2024
@Mytherin
Copy link
Collaborator

Mytherin commented Apr 2, 2024

Thanks for the PR! LGTM

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Apr 2, 2024
Merge pull request duckdb/duckdb#11399 from kryonix/cte_fix
Merge pull request duckdb/duckdb#11459 from carlopi/skip_ccache_r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Catalog Error with nested CTEs
2 participants