Skip to content

Commit

Permalink
Merge pull request #111505 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.1-111472

release-23.1: ui: add check for value
  • Loading branch information
maryliag committed Sep 29, 2023
2 parents 9222d58 + 71b9179 commit 24b7880
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ function ExplainPlan({
/>
<SummaryCardItem
label="Average Execution Time"
value={formatNumberForDisplay(plan.stats.run_lat.mean, duration)}
value={formatNumberForDisplay(plan.stats.run_lat?.mean, duration)}
/>
<SummaryCardItem
label="Execution Count"
value={Count(longToInt(plan.stats.count))}
/>
<SummaryCardItem
label="Average Rows Read"
value={formatNumberForDisplay(plan.stats.rows_read.mean, count)}
value={formatNumberForDisplay(plan.stats.rows_read?.mean, count)}
/>
</SummaryCard>
</Col>
Expand Down

0 comments on commit 24b7880

Please sign in to comment.