Skip to content

Commit

Permalink
executor, planner: support indexMerge limit embeded with non partitio…
Browse files Browse the repository at this point in the history
…n table (#42811)

ref #41028
  • Loading branch information
Defined2014 authored Apr 14, 2023
1 parent 464fb18 commit 2d0564c
Show file tree
Hide file tree
Showing 10 changed files with 477 additions and 22 deletions.
3 changes: 3 additions & 0 deletions executor/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -4071,6 +4071,9 @@ func buildNoRangeIndexMergeReader(b *executorBuilder, v *plannercore.PhysicalInd
isCorColInTableFilter: isCorColInTableFilter,
isCorColInPartialAccess: isCorColInPartialAccess,
isIntersection: v.IsIntersectionType,
byItems: v.ByItems,
pushedLimit: v.PushedLimit,
keepOrder: v.KeepOrder,
}
collectTable := false
e.tableRequest.CollectRangeCounts = &collectTable
Expand Down
Loading

0 comments on commit 2d0564c

Please sign in to comment.