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

Move the Horizon Planning to the Operators #12777

Closed
frouioui opened this issue Mar 30, 2023 · 1 comment
Closed

Move the Horizon Planning to the Operators #12777

frouioui opened this issue Mar 30, 2023 · 1 comment
Assignees
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)

Comments

@frouioui
Copy link
Member

frouioui commented Mar 30, 2023

Feature Description

We would like to gradually move all the horizon planning work to the operators instead of the logical plan.

A horizon is what we call in the planner the stuff that is outside the FROM ... WHERE clause. If we are able to send the whole query to a single shard, we don't do much more planning - we simply add the rest of the clauses (projections, ordering, limit, aggregation and more) to the query and we are done.

If we can't delegate everything to MySQL, we do more planning, and this is what we call horizon planning.

Tracking

@frouioui frouioui added Type: Feature Needs Triage This issue needs to be correctly labelled and triaged Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Query Serving and removed Type: Feature Needs Triage This issue needs to be correctly labelled and triaged labels Mar 30, 2023
@frouioui frouioui added this to v17.0.0 Mar 30, 2023
@frouioui frouioui moved this to In Progress in v17.0.0 Mar 30, 2023
@frouioui
Copy link
Member Author

Duplicate of #11626

@frouioui frouioui marked this as a duplicate of #11626 Mar 30, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in v17.0.0 Mar 30, 2023
@frouioui frouioui removed this from v17.0.0 Mar 30, 2023
@systay systay reopened this Mar 30, 2023
@systay systay closed this as completed Mar 30, 2023
@systay systay reopened this Apr 12, 2023
@systay systay closed this as completed Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

No branches or pull requests

2 participants