-
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.
47309: colexec: resolve miscellaneous TODOs and do some cleanups r=yuzefovich a=yuzefovich **colexec: unify spacing in templates** This commit removes the space after `{{` and before `}}` in templating directives which unifies the code base (and brings it in line with the godoc's examples usage). Release note: None **colexec: minor refactor of merge joiner** This commit does the following refactor of the merge joiner: 1. it bumps the "output batch size" for `count(*)` queries (when we don't need to populate the output other than the number of tuples) to max int. Previously this was limited due to `uint16` length of the batch. 2. in the probe phase, when comparing tuples from both inputs to see whether they match each other, previously we were using the combination of `==` and `<` to make the decision which input to advance; now we will be using `.Compare` equivalents. This allows us to simplify the template generator a bit. 3. it removes extra spaces in the template directives. Point number 2 shows some improvement (5% or so) in the benchmarks when operating on ints, but it would matter more on Bytes and other non-native types. Release note: None **colexec: miscellaneous cleanups** This commit does the following: 1. plumbs the processor ID of the processor that we're wrapping into the vectorized flow. This processor ID will be used for the materializer / columnarizer pair. I don't think it matters much, but why not. 2. resolves a minor TODO in the external sorter benchmark. 3. removes limitation of `2<<16-1` on K in the top K sorter (previously limited by `uint16` batch length. 4. removes calling `Next` on the input of `zeroOperator` (which always returns a zero batch). I believe previously it was needed so that projecting operators had a chance to append their output columns to the batch which is no longer the case. Release note: None 48107: roachtest: fix tpchvec perf r=yuzefovich a=yuzefovich This commit fixes a problem with "test case struct" resolution that was introduced recently when we added `smithcmp` config to `tpchvec` test. The root of the issue is that `testRun` function was made a part of the `tpchVecTestCase` interface which doesn't really makes sense. Release note: None Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
- Loading branch information
Showing
35 changed files
with
345 additions
and
355 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
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
Oops, something went wrong.