github-code-scanning[bot] commented on code in PR #14542:
URL: https://github.com/apache/druid/pull/14542#discussion_r1256424480
##########
extensions-core/druid-bloom-filter/src/test/java/org/apache/druid/query/aggregation/bloom/BloomFilterAggregatorTest.java:
##########
@@ -395,6 +415,49 @@
Assert.assertEquals(serializedDoubleFilter, serialized);
}
+ @Test
+ public void testAggregateArrayValues() throws IOException
+ {
+ TestObjectColumnSelector selector = new TestObjectColumnSelector(
+ Arrays.asList(ARRAY_VALUES)
+ );
+ ObjectBloomFilterAggregator agg = new
ObjectBloomFilterAggregator(selector, MAX_NUM_VALUES, true);
+
+ for (Object ignored : ARRAY_VALUES) {
Review Comment:
## Unread local variable
Variable 'Object ignored' is never read.
[Show more
details](https://github.com/apache/druid/security/code-scanning/5247)
--
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]