Skip to content

stmtbundle: add recent schema changes and descriptor JSON #170491

@michae2

Description

@michae2

When investigating optimizer bugs, In order to rule out schema changes and other interactions with descriptor state, we should consider adding two things to statement diagnostics bundles:

  1. a list of all known schema changes for each schema object used by the statement
  2. the pretty-printed descriptor JSON for the descriptor of each schema object used by the statement

Jira issue: CRDB-64033

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-sql-debug-bundleIssues related to statement bundle improvementsC-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-sql-queriesSQL Queries Teamgood first issue
    No fields configured for Feature.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions