Skip to content

Commit

Permalink
use stitch instead of concat
Browse files Browse the repository at this point in the history
  • Loading branch information
alextheimer committed Oct 5, 2023
1 parent 34c6583 commit acd1535
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 76 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ class MultiPartitionPlanner(partitionLocationProvider: PartitionLocationProvider
if (execPlans.size == 1) execPlans.head
else {
// TODO: Do we pass in QueryContext in LogicalPlan's helper rvRangeForPlan?
MultiPartitionDistConcatExec(
qContext, inProcessPlanDispatcher, execPlans.sortWith((x, _) => !x.isInstanceOf[PromQlRemoteExec]))
StitchRvsExec(qContext, inProcessPlanDispatcher, rvRangeFromPlan(logicalPlan),
execPlans.sortWith((x, _) => !x.isInstanceOf[PromQlRemoteExec]))
}
// Sort to move RemoteExec in end as it does not have schema
}
Expand Down
Loading

0 comments on commit acd1535

Please sign in to comment.