kfaraz commented on code in PR #12404:
URL: https://github.com/apache/druid/pull/12404#discussion_r878687327
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/HeapMemoryTaskStorage.java:
##########
@@ -233,6 +234,18 @@ public List<TaskInfo<Task, TaskStatus>> getTaskInfos(
return tasks;
}
+ @Override
+ public List<TaskStatusPlus> getTaskStatusPlusList(
+ Map<TaskLookupType, TaskLookup> taskLookups,
+ @Nullable String datasource
+ )
+ {
+ return getTaskInfos(taskLookups, datasource).stream()
+ .map(Task::toTaskMetadataInfo)
Review Comment:
It seems this would be a compilation error because `getTaskInfos` returns a
List of `TaskInfo` objects and this mapper is treating it as a `Task`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]