diff --git a/server/src/main/java/org/apache/druid/server/ClientQuerySegmentWalker.java b/server/src/main/java/org/apache/druid/server/ClientQuerySegmentWalker.java index c3379bab021..fa35ff7b8a9 100644 --- a/server/src/main/java/org/apache/druid/server/ClientQuerySegmentWalker.java +++ b/server/src/main/java/org/apache/druid/server/ClientQuerySegmentWalker.java @@ -274,8 +274,7 @@ public class ClientQuerySegmentWalker implements QuerySegmentWalker current = Iterables.getOnlyElement(current.getChildren()); } - assert !(current instanceof QueryDataSource); - + assert !(current instanceof QueryDataSource); // lgtm [java/contradictory-type-checks] current = inlineIfNecessary(current, null, subqueryRowLimitAccumulator, maxSubqueryRows, dryRun); while (!stack.isEmpty()) {