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

Feature Request: Prepared Statement Planning Improvement #17840

Open
harshit-gangal opened this issue Feb 21, 2025 · 0 comments
Open

Feature Request: Prepared Statement Planning Improvement #17840

harshit-gangal opened this issue Feb 21, 2025 · 0 comments

Comments

@harshit-gangal
Copy link
Member

Feature Description

Prepared statements are planned upon receiving the query, which may result in suboptimal plans due to unavailable parameter values. During the planning phase, we can merge complex operators into simpler, faster ones.

To improve performance, we can either delay planning until the first query with parameter values is received or use a conditional planner that makes informed assumptions about the parameters.

Use Case(s)

For building optimal query plans

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

No branches or pull requests

1 participant