kfaraz commented on code in PR #14507:
URL: https://github.com/apache/druid/pull/14507#discussion_r1276340299
##########
indexing-service/src/main/java/org/apache/druid/indexing/input/DruidInputSource.java:
##########
@@ -363,7 +428,7 @@ public int estimateNumSplits(InputFormat inputFormat,
@Nullable SplitHintSpec sp
@Override
public SplittableInputSource<List<WindowedSegmentId>>
withSplit(InputSplit<List<WindowedSegmentId>> split)
{
- return new DruidInputSource(
+ return (DruidInputSource) new DruidInputSource(
Review Comment:
Use the right constructor here rather than creating an object and
immediately calling `withTaskToolbox` on it.
--
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]