Skip to content

Commit

Permalink
Merge pull request #50347 from yuzefovich/backport20.1-50256
Browse files Browse the repository at this point in the history
release-20.1: ui: fix a bug with DistSQL info on Statements page
  • Loading branch information
yuzefovich committed Jun 19, 2020
2 parents 02966b3 + 1b85df6 commit 20acec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ui/src/views/statements/statementDetails.tsx
Expand Up @@ -213,7 +213,7 @@ export class StatementDetails extends React.Component<StatementDetailsProps, Sta
if (!this.props.statement) {
return null;
}
const { stats, statement, app, opt, failed, implicit_txn } = this.props.statement;
const { stats, statement, app, distSQL, opt, failed, implicit_txn } = this.props.statement;

if (!stats) {
const sourceApp = getMatchParamByName(this.props.match, appAttr);
Expand Down Expand Up @@ -282,7 +282,7 @@ export class StatementDetails extends React.Component<StatementDetailsProps, Sta
</div>
<div className="summary--card__item">
<h4 className="summary--card__item--label">Distributed execution?</h4>
<p className="summary--card__item--value">{ renderBools(opt) }</p>
<p className="summary--card__item--value">{ renderBools(distSQL) }</p>
</div>
<div className="summary--card__item">
<h4 className="summary--card__item--label">Used cost-based optimizer?</h4>
Expand Down

0 comments on commit 20acec6

Please sign in to comment.