xiangfu0 commented on code in PR #8465: URL: https://github.com/apache/pinot/pull/8465#discussion_r843341607
########## pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java: ########## @@ -346,6 +347,29 @@ public StringResultResponse getTaskStateDeprecated( } } + @GET + @Path("/tasks/all") Review Comment: The goal eventually is to convert those API responses to an in-memory table and you can run the below queries to see job status. ``` SHOW LOAD; SHOW LOAD WHERE taskName = 'mytask-01'; SHOW LOAD WHERE state = 'CANCELLED'; SHOW LOAD WHERE state = 'LOADING'; ``` I feel we may need a better data structure to hold the task status, e.g. job progress(12/35 COMPLETED, 5/35 IN_PROGRESS ), exception: xxxxx, time usage: 12mins, etc. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org