pingcap / pingcap/tidb

Refactor the CTE related optimization using the sequence operator

Open
#51,907 0 comments 0 reactions 0 assignees View on GitHub
sig/planner type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

We've introduced the sequence operator to handle the dependency relationship between the CTEs.
Now we can merge the CTE's optimization process into the main optimization to enable further optimization such that the predicate push down of the CTE is not complete.

It's a known issue of the CTE's optimization.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.