cockroachdb/cockroach

stmtbundle: add recent schema changes and descriptor JSON

Fechada

#170.491 aberto em 18 de mai. de 2026

 (2 comentários) (0 reação) (0 responsável)Go (4.124 forks)batch import
A-sql-debug-bundleC-enhancementE-starterT-sql-queriesgood first issue

Métricas do repositório

Stars
 (32.150 estrelas)
Métricas de merge de PR
 (Mesclagem média 5d 4h) (26 fundiu PRs em 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:

  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

Guia do colaborador