-
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.
46080: sql: make some tweaks to using the vectorized engine r=yuzefovich a=yuzefovich **colexec: enable wrapping of unordered distinct in vectorized flow** Release justification: bug fixes and low-risk updates to new functionality. This commit enhances `isSupported` check during the vectorized execution planning so that operators that cannot run in `auto` mode (unordered distinct, percent_rank, and cume_dist) would be reported as "unsupported" which will enable wrapping the processor cores into the vectorized flow. Previously, we would refuse to vectorize the whole flow which is a mistake. Release note: None **sql: rename vectorize `experimental_on` to `on`** Release justification: bug fixes and low-risk updates to new functionality. This commit renames `experimental_on` option of `vectorize` variable to `on` since we're now confident in the correctness. This commit also changes the behavior of `EXPLAIN (VEC)` slightly - previously, we were setting `vectorize` to (what was) `experimental_on` and then running `SupportsVectorized` check. Now we will return an error if `vectorize` is set to `off` and in other cases we will run the check with the current `vectorize` mode. This is done so that `EXPLAIN (VEC)` better reflects reality. Release note (sql change): `experimental_on` option for `vectorize` session variable has been renamed to `on`. The only things that will not run with `auto` but will run with `on` are unordered distinct and two window functions (`percent_rank` and `cume_dist`), otherwise, the two options are identical. Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
25 changed files
with
124 additions
and
72 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
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
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.