Skip to content

Commit

Permalink
Web console: use stages, counters, and warnings from the new detailed…
Browse files Browse the repository at this point in the history
… status API (#16809)

* stages and counters can be seen on the status reponse

* warnings are exposed also

* mark as msq when attached

* update snapshots

* download CSV/TSV null as empty cell
  • Loading branch information
vogievetsky authored Aug 1, 2024
1 parent bb4d6cc commit 8c170f7
Show file tree
Hide file tree
Showing 12 changed files with 1,515 additions and 42 deletions.
674 changes: 662 additions & 12 deletions web-console/src/druid-models/async-query/async-query.mock.ts

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions web-console/src/druid-models/async-query/async-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*/

import type { ErrorResponse } from '../../utils';
import type { Counters, StageDefinition } from '../stages/stages';
import type { MsqTaskErrorReport } from '../task/task';

export type AsyncState = 'ACCEPTED' | 'RUNNING' | 'SUCCESS' | 'FAILED';

Expand All @@ -37,5 +39,8 @@ export interface AsyncStatusResponse {
sizeInBytes: number;
}[];
};
stages?: StageDefinition[];
counters?: Counters;
errorDetails?: ErrorResponse;
warnings?: MsqTaskErrorReport[];
}
Loading

0 comments on commit 8c170f7

Please sign in to comment.