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


##########
sql/src/test/java/org/apache/druid/sql/calcite/DecoupledPlanningCalciteQueryTest.java:
##########
@@ -19,20 +19,62 @@
 
 package org.apache.druid.sql.calcite;
 
+import com.google.common.base.Throwables;
 import com.google.common.collect.ImmutableMap;
 import org.apache.druid.query.QueryContexts;
 import org.apache.druid.server.security.AuthConfig;
 import org.apache.druid.sql.calcite.planner.PlannerConfig;
 import org.apache.druid.sql.calcite.util.SqlTestFramework;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.AssumptionViolatedException;
+import org.junit.Rule;
+import org.junit.rules.TestRule;
+import org.junit.runner.Description;
+import org.junit.runners.model.Statement;
+
+import java.util.regex.Matcher;
+
+import static org.junit.Assert.assertThrows;
 
 public class DecoupledPlanningCalciteQueryTest extends CalciteQueryTest
 {
+
+  @Rule(order = 0)
+  public DecoupledIgnoreProcessor decoupledIgnoreProcessor = new 
DecoupledIgnoreProcessor();
+
+  public static class DecoupledIgnoreProcessor implements TestRule
+  {
+    public Statement apply(Statement base, Description description)

Review Comment:
   ## Missing Override annotation
   
   This method overrides [TestRule.apply](1); it is advisable to add an 
Override annotation.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/5798)



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