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

TopDown optimizing approach exploring and implementation based on cascades/columbia #51664

Open
AilinKid opened this issue Mar 11, 2024 · 0 comments · Fixed by #51663
Open

TopDown optimizing approach exploring and implementation based on cascades/columbia #51664

AilinKid opened this issue Mar 11, 2024 · 0 comments · Fixed by #51663
Assignees

Comments

@AilinKid
Copy link
Contributor

AilinKid commented Mar 11, 2024

Enhancement

For modern advanced HTAP databases, the cascades-based optimizing approach will make the entire optimizing framework more flexible and extensible (modular, easy for adding/updating rules, making catalog and cost model more adaptive), eliminating the redundant searching space by group-pruning/low-bound admission branch check/equiv class classification, without completely do enumeration of each logical plan node from the bottom up.

Details

Infrastructure

Refactoring

The current plan/core pkg is quite huge not as slim as we expected. The hybrid placement of logicalOp, physicalOp, property, task, logical-rewrite, build-phase, binder, cost, exhaustion, etc makes the hierarchy complicated. The boundary of them is also not as clear as we desired. I concluded that there is some reason for this phenomenon.

@AilinKid AilinKid added the sig/planner SIG: Planner label Mar 11, 2024
ti-chi-bot bot pushed a commit that referenced this issue Mar 12, 2024
@AilinKid AilinKid reopened this Mar 14, 2024
@AilinKid AilinKid reopened this Mar 26, 2024
@AilinKid AilinKid self-assigned this Apr 17, 2024
ti-chi-bot bot pushed a commit that referenced this issue May 13, 2024
ti-chi-bot bot pushed a commit that referenced this issue May 14, 2024
ti-chi-bot bot pushed a commit that referenced this issue May 15, 2024
terry1purcell pushed a commit to terry1purcell/tidb that referenced this issue May 17, 2024
terry1purcell pushed a commit to terry1purcell/tidb that referenced this issue May 17, 2024
terry1purcell pushed a commit to terry1purcell/tidb that referenced this issue May 17, 2024
terry1purcell pushed a commit to terry1purcell/tidb that referenced this issue May 17, 2024
terry1purcell pushed a commit to terry1purcell/tidb that referenced this issue May 17, 2024
RidRisR pushed a commit to RidRisR/tidb that referenced this issue May 23, 2024
RidRisR pushed a commit to RidRisR/tidb that referenced this issue May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant