Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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[];
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it matter that there seem to be stuff missing from StageDefinition that are present in MSQStagesReport on the java side? it looks like shuffle and output, https://github.com/apache/druid/blob/master/extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/report/MSQStagesReport.java#L146

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hah, oops, idk how i missed that 🙃

counters?: Counters;
errorDetails?: ErrorResponse;
warnings?: MsqTaskErrorReport[];
}
Loading