You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by vo...@apache.org on 2025/05/31 05:40:02 UTC
(druid) branch master updated: add error column to the tasks view (#18057)
This is an automated email from the ASF dual-hosted git repository.
vogievetsky pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 2e4f80abf82 add error column to the tasks view (#18057)
2e4f80abf82 is described below
commit 2e4f80abf82e8216aaa45f65bff554fcb32af66d
Author: Vadim Ogievetsky <va...@ogievetsky.com>
AuthorDate: Sat May 31 06:39:56 2025 +0100
add error column to the tasks view (#18057)
---
.../tasks-view/__snapshots__/tasks-view.spec.tsx.snap | 16 +++++++++++++++-
web-console/src/views/tasks-view/tasks-view.tsx | 11 +++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/web-console/src/views/tasks-view/__snapshots__/tasks-view.spec.tsx.snap b/web-console/src/views/tasks-view/__snapshots__/tasks-view.spec.tsx.snap
index 3e702f91d45..6fc2a4d3386 100644
--- a/web-console/src/views/tasks-view/__snapshots__/tasks-view.spec.tsx.snap
+++ b/web-console/src/views/tasks-view/__snapshots__/tasks-view.spec.tsx.snap
@@ -76,13 +76,18 @@ exports[`TasksView matches snapshot 1`] = `
"Type",
"Datasource",
"Status",
+ "Error",
"Created time",
"Duration",
"Location",
]
}
onChange={[Function]}
- tableColumnsHidden={[]}
+ tableColumnsHidden={
+ [
+ "Error",
+ ]
+ }
/>
</Memo(ViewControlBar)>
<ReactTable
@@ -182,6 +187,15 @@ exports[`TasksView matches snapshot 1`] = `
"sortMethod": [Function],
"width": 110,
},
+ {
+ "Aggregated": [Function],
+ "Cell": [Function],
+ "Header": "Error",
+ "accessor": [Function],
+ "id": "error",
+ "show": false,
+ "width": 300,
+ },
{
"Aggregated": [Function],
"Cell": [Function],
diff --git a/web-console/src/views/tasks-view/tasks-view.tsx b/web-console/src/views/tasks-view/tasks-view.tsx
index 5972f5ef7ea..2123072fe95 100644
--- a/web-console/src/views/tasks-view/tasks-view.tsx
+++ b/web-console/src/views/tasks-view/tasks-view.tsx
@@ -68,6 +68,7 @@ const taskTableColumns: string[] = [
'Type',
'Datasource',
'Status',
+ 'Error',
'Created time',
'Duration',
'Location',
@@ -167,6 +168,7 @@ ORDER BY
visibleColumns: new LocalStorageBackedVisibility(
LocalStorageKeys.TASK_TABLE_COLUMN_SELECTION,
+ ['Error'],
),
};
@@ -476,6 +478,15 @@ ORDER BY
},
show: visibleColumns.shown('Status'),
},
+ {
+ Header: 'Error',
+ id: 'error',
+ accessor: row => row.error_msg || '',
+ width: 300,
+ Cell: this.renderTaskFilterableCell('error'),
+ Aggregated: () => '',
+ show: visibleColumns.shown('Error'),
+ },
{
Header: 'Created time',
accessor: 'created_time',
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org