Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: remove vectorize_row_count_threshold setting #62164

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

yuzefovich
Copy link
Member

This commit removes vectorize_row_count_threshold session variable and
the corresponding cluster setting. In 21.1 release these are set to 0 by
default, and in 21.2 release that default behavior cannot be changed.
This marks another step towards the start of deprecating the row-by-row
execution engine.

Fixes: #53893.

Release note (sql change): sql.defaults.vectorize_row_count_threshold
cluster setting as well as corresponding vectorize_row_count_threshold
session variable have been removed. From now on, CockroachDB will behave
exactly as if these were set to 0 (last default value).

@yuzefovich yuzefovich requested review from asubiotto, a team and dt and removed request for a team March 17, 2021 20:02
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@yuzefovich yuzefovich removed the request for review from dt March 17, 2021 20:02
Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: What a great day!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @asubiotto)

Copy link
Contributor

@asubiotto asubiotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: 🥳

Reviewable status: :shipit: complete! 2 of 0 LGTMs obtained

This commit removes `vectorize_row_count_threshold` session variable and
the corresponding cluster setting. In 21.1 release these are set to 0 by
default, and in 21.2 release that default behavior cannot be changed.
This marks another step towards the start of deprecating the row-by-row
execution engine.

Release note (sql change): `sql.defaults.vectorize_row_count_threshold`
cluster setting as well as corresponding `vectorize_row_count_threshold`
session variable have been removed. From now on, CockroachDB will behave
exactly as if these were set to 0 (last default value).
@yuzefovich
Copy link
Member Author

TFTRs!

bors r+

@craig
Copy link
Contributor

craig bot commented Mar 17, 2021

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

colexec: remove vectorize_row_count_thresold session variable
4 participants