You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "github-code-scanning[bot] (via GitHub)" <gi...@apache.org> on 2023/04/05 05:53:58 UTC
[GitHub] [druid] github-code-scanning[bot] commented on a diff in pull request #13977: smarter nested column index utilization
github-code-scanning[bot] commented on code in PR #13977:
URL: https://github.com/apache/druid/pull/13977#discussion_r1158051604
##########
processing/src/main/java/org/apache/druid/segment/AutoTypeColumnMerger.java:
##########
@@ -87,15 +86,14 @@
String name,
IndexSpec indexSpec,
SegmentWriteOutMedium segmentWriteOutMedium,
- ProgressIndicator progressIndicator,
+ @SuppressWarnings("unused") ProgressIndicator progressIndicator,
Review Comment:
## Useless parameter
The parameter 'progressIndicator' is never used.
[Show more details](https://github.com/apache/druid/security/code-scanning/4727)
##########
processing/src/main/java/org/apache/druid/segment/nested/VariantArrayColumnAndIndexSupplier.java:
##########
@@ -199,7 +207,9 @@
Supplier<FrontCodedIntArrayIndexed> arrayDictionarySupplier,
Supplier<ColumnarInts> encodedValueColumnSupplier,
GenericIndexed<ImmutableBitmap> valueIndexes,
- @SuppressWarnings("unused") BitmapFactory bitmapFactory
+ @SuppressWarnings("unused") BitmapFactory bitmapFactory,
+ @SuppressWarnings("unused") ColumnConfig columnConfig,
+ @SuppressWarnings("unused") int numRows
Review Comment:
## Useless parameter
The parameter 'numRows' is never used.
[Show more details](https://github.com/apache/druid/security/code-scanning/4729)
##########
processing/src/main/java/org/apache/druid/segment/nested/VariantArrayColumnAndIndexSupplier.java:
##########
@@ -199,7 +207,9 @@
Supplier<FrontCodedIntArrayIndexed> arrayDictionarySupplier,
Supplier<ColumnarInts> encodedValueColumnSupplier,
GenericIndexed<ImmutableBitmap> valueIndexes,
- @SuppressWarnings("unused") BitmapFactory bitmapFactory
+ @SuppressWarnings("unused") BitmapFactory bitmapFactory,
+ @SuppressWarnings("unused") ColumnConfig columnConfig,
Review Comment:
## Useless parameter
The parameter 'columnConfig' is never used.
[Show more details](https://github.com/apache/druid/security/code-scanning/4728)
--
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-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org