TSFenwick commented on code in PR #13513:
URL: https://github.com/apache/druid/pull/13513#discussion_r1042795040
##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/IndexTask.java:
##########
@@ -546,6 +553,41 @@ public TaskStatus runTask(final TaskToolbox toolbox)
}
}
+ private void emitUnparseableEvents(TaskToolbox toolbox)
+ {
+ String taskId = getId();
+ for(Map.Entry<String, Object> unparseableEvents :
getTaskCompletionUnparseableEvents().entrySet()) {
+ if (unparseableEvents.getValue() instanceof List) {
Review Comment:
I'm not sure need to dig deeper into the code to figure that out.
Would be smarter to cast it to Iterable and only iterate over that in case
it is a set
--
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]