github-code-scanning[bot] commented on code in PR #13732:
URL: https://github.com/apache/druid/pull/13732#discussion_r1096339284


##########
extensions-core/druid-bloom-filter/src/test/java/org/apache/druid/query/aggregation/bloom/sql/BloomFilterSqlAggregatorTest.java:
##########
@@ -89,18 +87,18 @@
       final Injector injector
   ) throws IOException
   {
-    InputRowParser parser = new MapInputRowParser(
-        new TimeAndDimsParseSpec(
-            new TimestampSpec("t", "iso", null),
-            new DimensionsSpec(
-                ImmutableList.<DimensionSchema>builder()
-                             
.addAll(DimensionsSpec.getDefaultSchemas(ImmutableList.of("dim1", "dim2", 
"dim3")))
-                             .add(new DoubleDimensionSchema("d1"))
-                             .add(new FloatDimensionSchema("f1"))
-                             .add(new LongDimensionSchema("l1"))
-                             .build()
-            )
-        ));
+    InputRowSchema schema = new InputRowSchema(
+        new TimestampSpec("t", "iso", null),
+        new DimensionsSpec(
+            ImmutableList.<DimensionSchema>builder()
+                         
.addAll(DimensionsSpec.getDefaultSchemas(ImmutableList.of("dim1", "dim2", 
"dim3")))
+                         .add(new DoubleDimensionSchema("d1"))
+                         .add(new FloatDimensionSchema("f1"))
+                         .add(new LongDimensionSchema("l1"))
+                         .build()
+        ),
+        null
+    );

Review Comment:
   ## Unread local variable
   
   Variable 'InputRowSchema schema' is never read.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/4227)



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