adithyachakilam commented on code in PR #16171: URL: https://github.com/apache/druid/pull/16171#discussion_r1543148625
########## indexing-service/src/main/java/org/apache/druid/indexing/common/task/IndexTask.java: ########## @@ -1071,7 +1077,14 @@ private TaskStatus generateAndPublishSegments( log.debugSegments(published.getSegments(), "Published segments"); - updateAndWriteCompletionReports(toolbox); + updateAndWriteCompletionReports( + toolbox, + // only applicable to the compaction use cases + inputSource instanceof DruidInputSource + ? (long) ((DruidInputSource) inputSource).estimateSegmentsCount() Review Comment: https://github.com/apache/druid/pull/15947#discussion_r1504908170 Basically, to align with what data types other fields are in `IngestionTaskReportData`. -- 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...@druid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org