-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
41257: distsql: join UNION ALL streams on a single node r=andreimatei a=RaduBerinde Currently, in most cases UNION ALL uses all the streams from both sides, which can result in unnecessary parallelization downstream. This change merges streams from the same node into a no-op processor. Ideally, if the next processor would be on the same node, we wouldn't need the no-op processor but implementing that would be much more involved. Fixes #41251. Release note: None Release justification: Needed for a fix for high-severity bug in existing functionality. Co-authored-by: Radu Berinde <radu@cockroachlabs.com>
- Loading branch information
Showing
3 changed files
with
75 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters