cockroachdb/cockroach
stmtbundle: add recent schema changes and descriptor JSON
Closed
#170,491 opened on May 18, 2026
A-sql-debug-bundleC-enhancementE-starterT-sql-queriesgood first issue
Repository metrics
- Stars
- (32,150 stars)
- PR merge metrics
- (Avg merge 5d 4h) (26 merged PRs in 30d)
Description
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:
- a list of all known schema changes for each schema object used by the statement
- the pretty-printed descriptor JSON for the descriptor of each schema object used by the statement
Jira issue: CRDB-64033