-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Support BatchPointGet
for Range and List Partition
#45532
Labels
component/tablepartition
This issue is related to Table Partition of TiDB.
type/enhancement
The issue or PR belongs to an enhancement.
Comments
Defined2014
added
the
type/enhancement
The issue or PR belongs to an enhancement.
label
Jul 24, 2023
12 tasks
Some interesting things
|
Defined2014
added
the
component/tablepartition
This issue is related to Table Partition of TiDB.
label
Jul 27, 2023
12 tasks
12 tasks
Merged
12 tasks
13 tasks
13 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.
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
We could support
BatchPointGet
plan for Range and List Partition and remove the code below.tidb/planner/core/find_best_task.go
Lines 1126 to 1134 in e68c8ff
Some things need to consider,
keepOrder = true
for partition table in BatchPointGetExec #45702select ... where _tidb_rowid in (...)
returns an wrong result #45889tidb/server/conn.go
Line 1875 in 6b536ae
prefetchPointPlanKeys
function, not sure if this will affect.Most test cases are added in
TestBatchPointGetTablePartition
, but please take care about all of them.The text was updated successfully, but these errors were encountered: