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: add catalog.Partitioning interface #64013

Merged
merged 1 commit into from
May 14, 2021

Commits on May 13, 2021

  1. sql: add catalog.Partitioning interface

    This commit aims at reducing direct usage of
    descpb.PartitioningDescriptor types and instead using the new
    catalog.Partitioning interface. This refactoring is in line with recent
    virtualization work tracked under cockroachdb#56306.
    
    In an effort to improve readability and ability to reason about state
    changes, this commit changes the type signature of sql.CreatePartitioning
    and, notably, removes its side-effects on the index descriptor. The
    latter is now modified using a new tabledesc.UpdateIndexPartitioning
    function.
    
    Release note: None
    Marius Posta committed May 13, 2021
    Configuration menu
    Copy the full SHA
    a24d6c2 View commit details
    Browse the repository at this point in the history