Skip to content

sql: Fix testing_optimizer_disable_rule_probability usage with vtables#95557

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
cucaroach:vtable-fix
Jan 20, 2023
Merged

sql: Fix testing_optimizer_disable_rule_probability usage with vtables#95557
craig[bot] merged 1 commit intocockroachdb:masterfrom
cucaroach:vtable-fix

Conversation

@cucaroach
Copy link
Copy Markdown
Contributor

If a vtable scan query tries to use the dummy "0" column the exec
builder errors out, this typically won't happen thanks to prune columns
normalization rules and those rules are marked as "essential" but the
logic allowing those rules to be applied was flawed.

Epic: CRDB-20535
Informs: #94890
Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

If a vtable scan query tries to use the dummy "0" column the exec
builder errors out, this typically won't happen thanks to prune columns
normalization rules and those rules are marked as "essential" but the
logic allowing those rules to be applied was flawed.

Epic: CRDB-20535
Informs: cockroachdb#94890
Release note: None
@cucaroach cucaroach marked this pull request as ready for review January 20, 2023 15:38
@cucaroach cucaroach requested a review from a team as a code owner January 20, 2023 15:38
@cucaroach cucaroach requested review from DrewKimball and mgartner and removed request for mgartner January 20, 2023 15:38
Copy link
Copy Markdown
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @cucaroach)

@cucaroach
Copy link
Copy Markdown
Contributor Author

bors r+

@craig craig bot merged commit 1b79102 into cockroachdb:master Jan 20, 2023
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 20, 2023

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.

3 participants