Skip to content

sql, docs: create linter to ensure sql.y / diagrams.go are in sync #71101

Open
@RichardJCai

Description

@RichardJCai

To prevent something like this #70503
and in general sql.y and diagrams.go being out of sync, lets add a lint check to ensure that every stmt in diagrams.go maps to a stmt in sql.y

Jira issue: CRDB-10396

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-starterMight be suitable for a starter project for new employees or team members.T-dev-inf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions