-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Push down sort property to range partition table #26166
Labels
component/tablepartition
This issue is related to Table Partition of TiDB.
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Comments
Closed
This needs a MergeSort operator. |
time-and-fate
added
type/enhancement
The issue or PR belongs to an enhancement.
and removed
type/bug
The issue is confirmed as a bug.
severity/major
labels
Nov 23, 2021
As stated above, we don't support |
time-and-fate
changed the title
TopN on range partition pk couldn't be eliminated as limitN
Push down sort property to range partition table
Nov 23, 2021
/component tablepartition |
ti-chi-bot
added
the
component/tablepartition
This issue is related to Table Partition of TiDB.
label
Feb 14, 2022
Or for this case, we can generate a plan like this:
|
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 29, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Dec 1, 2022
12 tasks
Closed
12 tasks
12 tasks
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 4, 2023
12 tasks
Now the normal partition table cases can have a clean order property push down. |
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component/tablepartition
This issue is related to Table Partition of TiDB.
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
t1, t2 be same
3. What did you see instead (Required)
the partition table can not be eliminated as limitN (even with dynamic prune)
4. What is your TiDB version? (Required)
newest master
The text was updated successfully, but these errors were encountered: