github-advanced-security[bot] commented on code in PR #19042:
URL: https://github.com/apache/druid/pull/19042#discussion_r2845152285


##########
multi-stage-query/src/main/java/org/apache/druid/msq/exec/StageProcessor.java:
##########
@@ -77,4 +79,14 @@
    */
   @SuppressWarnings("rawtypes")
   ExtraInfoHolder makeExtraInfoHolder(@Nullable ExtraInfoType extra);
+
+  /**
+   * Produces an optional {@link SegmentPruner}, which can used for 
best-effort pruning of {@link DataSegment} objects
+   * by processors which deal with them
+   */
+  @Nullable
+  default SegmentPruner getPruner(InputSpec inputSpec, int inputNumber)

Review Comment:
   ## Useless parameter
   
   The parameter 'inputNumber' is never used.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/10829)



##########
multi-stage-query/src/main/java/org/apache/druid/msq/exec/StageProcessor.java:
##########
@@ -77,4 +79,14 @@
    */
   @SuppressWarnings("rawtypes")
   ExtraInfoHolder makeExtraInfoHolder(@Nullable ExtraInfoType extra);
+
+  /**
+   * Produces an optional {@link SegmentPruner}, which can used for 
best-effort pruning of {@link DataSegment} objects
+   * by processors which deal with them
+   */
+  @Nullable
+  default SegmentPruner getPruner(InputSpec inputSpec, int inputNumber)

Review Comment:
   ## Useless parameter
   
   The parameter 'inputSpec' is never used.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/10828)



-- 
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]

Reply via email to