cockroachdb / cockroachdb/cockroach

dbconsole: statement details pages should handle empty plan gists gracefully

Open
#130,451 1 comment 0 reactions 0 assignees View on GitHub
C-bug T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

The plan gist can be empty for queries where the `DisablePlanGist` session var is true. Today DB Console does not handle this in the statement details page, showing a row with an empty plan gist string in the explain tab view. The statement bundle flow also expects a valid plan gist string and crashes when requesting a bundle for said statements.

**Desired**
We should be able to request stmt bundles for stmts without plan gists, and filter out empty plan gist entries from the table.

Jira issue: CRDB-42057

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.