cockroachdb/cockroach

stmtbundle: add recent schema changes and descriptor JSON

已关闭

#170,491 创建于 2026年5月18日

 (2 条评论) (0 个反应) (0 位负责人)Go (4,124 个派生)batch import
A-sql-debug-bundleC-enhancementE-starterT-sql-queriesgood first issue

仓库指标

星标
 (32,150 个星标)
PR 合并指标
 (平均合并 5天 4小时) (30 天内合并 26 个 PR)

描述

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

贡献者指南