-
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.
83689: colbuilder: vectorizing rendering on top of wrapped processors r=yuzefovich a=yuzefovich **sql: remove no longer used fields from PostProcessSpec** This commit removes no longer used `OriginalOutputColumns` and `OriginalRenderExprs` fields from the `PostProcessSpec` - they are no longer needed because we now propagate the set of needed columns in the `IndexFetchSpec`. Release note: None **colbuilder: check native support via processor core rather than the spec** This commit is just a mechanical change. Release note: None **colbuilder: vectorizing rendering on top of wrapped processors** Previously, whenever we needed to wrap a row-by-row processor into the vectorized flow, we would pass in the whole `PostProcessSpec` to that processor. When this was originally implemented several years ago, this was needed so that processors could determine the set of "needed columns" (which should be decoded from KV responses). However, recently we refactored that, and now the set of needed columns is passed via the `IndexFetchSpec`. This means that we no longer need to pass the whole `PostProcessSpec` when wrapping, and this commit takes advantage of that observation in order to vectorize the evaluation of render expressions. In particular, vectorizing of render expressions allows us to plan more efficient vectorized builtins. We still pass all other parts of the `PostProcessSpec` (meaning that the wrapped processor is still responsible for projections, limits, and offsets) since those operations will limit the number of datums that need to be converted to the columnar in-memory format as well as provide limit hints to the wrapped processors. Release note: None 84222: logictest: temporarily disable workmem randomization in SQLLite tests r=yuzefovich a=yuzefovich The failure is not really a concerning one, so it's ok to skip until we figure it out. Informs: #84022. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
6 changed files
with
154 additions
and
136 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
Oops, something went wrong.