stmtbundle: do not include virtual tables and its stats #115437
Labels
A-sql-debug-bundle
Issues related to statement bundle improvements
C-cleanup
Tech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.
E-quick-win
Likely to be a quick win for someone experienced.
O-support
Would prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
T-sql-queries
SQL Queries Team
Currently, when we get a bundle for query that touches virtual tables (e.g.
EXPLAIN ANALYZE (DEBUG) SELECT count(*) FROM pg_catalog.pg_class;
), the bundle will include the schema of the virtual table inschema.sql
as well as absent table stats (we currently don't support stats for virtual tables). Both of these things breakdebug statement-bundle recreate
command, so we should omit them from the bundle. Once stats on virtual tables are supported (tracked by #27611), we should add the stats back.Jira issue: CRDB-34035
The text was updated successfully, but these errors were encountered: