Skip to content

sql/schemachanger: properly validate NOT NULL columns #81690

@ajwerner

Description

@ajwerner

Describe the problem

At time of writing, the declarative schema changer does not validate the NOT NULL nature of newly added columns. The change in #81679 captures most of what is necessary: push the logic into the index backfiller. The remaining case that needs to be covered is validating the NOT NULL nature of virtual computed columns, which is being handled separately for the legacy schema changer.

Jira issue: CRDB-16031

Epic CRDB-43310

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-schema-changer-implRelated to the implementation of the new schema changerC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions