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

Improve scheduling of independent ctes in CTE Materialization #21639

Closed
jaystarshot opened this issue Jan 5, 2024 · 0 comments · Fixed by #22205
Closed

Improve scheduling of independent ctes in CTE Materialization #21639

jaystarshot opened this issue Jan 5, 2024 · 0 comments · Fixed by #22205

Comments

@jaystarshot
Copy link
Member

jaystarshot commented Jan 5, 2024

Currently when multiple ctes are materialized, they will be executed one by one. This is necessary for dependent CTEs but independent ctes can be scheduled for execution parallelly.
This will improve end to end latency

Relavant code link - here

Enhance #19744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants