You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by kh...@apache.org on 2026/02/26 10:59:26 UTC
(pinot) branch revert-16968-minion_tasks_ui_fix created (now ac523872686)
This is an automated email from the ASF dual-hosted git repository.
kharekartik pushed a change to branch revert-16968-minion_tasks_ui_fix
in repository https://gitbox.apache.org/repos/asf/pinot.git
at ac523872686 Revert "Task queue UI: surface debug tables (#16968)"
This branch includes the following new commits:
new ac523872686 Revert "Task queue UI: surface debug tables (#16968)"
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
(pinot) 01/01: Revert "Task queue UI: surface debug tables (#16968)"
Posted by kh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kharekartik pushed a commit to branch revert-16968-minion_tasks_ui_fix
in repository https://gitbox.apache.org/repos/asf/pinot.git
commit ac5238726868320b0acdbea719982217a1d9a469
Author: Kartik Khare <kh...@gmail.com>
AuthorDate: Thu Feb 26 16:29:16 2026 +0530
Revert "Task queue UI: surface debug tables (#16968)"
This reverts commit cdaa68836803589363f75edc5997ab38b01a354f.
---
.../src/main/resources/app/pages/TaskQueue.tsx | 28 ++--------------------
1 file changed, 2 insertions(+), 26 deletions(-)
diff --git a/pinot-controller/src/main/resources/app/pages/TaskQueue.tsx b/pinot-controller/src/main/resources/app/pages/TaskQueue.tsx
index c5eafe93a4a..380e9ee87b6 100644
--- a/pinot-controller/src/main/resources/app/pages/TaskQueue.tsx
+++ b/pinot-controller/src/main/resources/app/pages/TaskQueue.tsx
@@ -18,7 +18,7 @@
*/
import React, { useEffect, useState } from 'react';
-import { get } from 'lodash';
+import { get, map } from 'lodash';
import { TableData } from 'Models';
import { Grid, makeStyles } from '@material-ui/core';
import SimpleAccordion from '../components/SimpleAccordion';
@@ -66,33 +66,9 @@ const TaskQueue = (props) => {
setFetching(true);
const taskInfoRes = await PinotMethodUtils.getTaskInfo(taskType);
const tablesResponse:any = await PinotMethodUtils.getTableData({ taskType });
- const responseTables = get(tablesResponse, 'tables', []);
- const initialTables = Array.isArray(responseTables)
- ? responseTables.filter((table): table is string => typeof table === 'string')
- : [];
- const tableSet = new Set<string>(initialTables);
-
- try {
- const debugResponse:any = await PinotMethodUtils.getTaskTypeDebugData(taskType);
- Object.values(debugResponse || {}).forEach((taskDebug: any) => {
- (get(taskDebug, 'subtaskInfos', []) || []).forEach((subtask: any) => {
- const taskConfig = get(subtask, 'taskConfig', {});
- const tableName = get(taskConfig, 'tableName') || get(taskConfig, 'configs.tableName');
- if (typeof tableName === 'string') {
- tableSet.add(tableName);
- }
- });
- });
- } catch (error) {
- // Debug endpoint might be disabled; ignore and fall back to configured tables only.
- // eslint-disable-next-line no-console
- console.warn(`Unable to retrieve adhoc task tables for ${taskType}:`, error);
- }
-
setTaskInfo(taskInfoRes);
setTables((prevState): TableData => {
- const tableList = Array.from(tableSet).sort();
- const _records = tableList.map(table => [table]);
+ const _records = map(get(tablesResponse, 'tables', []), table => [table]);
return { ...prevState, records: _records };
});
setFetching(false);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org