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

opt: support UPDATE with partial UNIQUE WITHOUT INDEX constraints #60836

Merged
merged 1 commit into from
Feb 23, 2021

Commits on Feb 22, 2021

  1. opt: support UPDATE with partial UNIQUE WITHOUT INDEX constraints

    This commit add uniqueness checks for partial `UNIQUE WITHOUT INDEX`
    constraints during `UPDATE` statements.
    
    As partial of this change, I discovered that cockroachdb#60535 introduced a
    regression where columns not required by uniqueness checks are not
    pruned. I've left TODOs in the column pruning tests and plan on fixing
    this in a follow-up PR.
    
    There is no release note because these constraints are gated behind the
    experimental_enable_unique_without_index_constraints session variable.
    
    Release note: None
    mgartner committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    e5d499a View commit details
    Browse the repository at this point in the history