Jackie-Jiang commented on code in PR #8523:
URL: https://github.com/apache/pinot/pull/8523#discussion_r851559445


##########
pinot-core/src/main/java/org/apache/pinot/core/plan/CombinePlanNode.java:
##########
@@ -73,10 +76,16 @@ public CombinePlanNode(List<PlanNode> planNodes, 
QueryContext queryContext, Exec
     _streamObserver = streamObserver;
   }
 
-  @SuppressWarnings({"rawtypes", "unchecked"})
   @Override
   public BaseCombineOperator run() {
+    try (InvocationScope scope = 
Tracing.getTracer().createScope(CombinePlanNode.class)) {
+      return getCombineOperator(scope);
+    }
+  }
+
+  private BaseCombineOperator getCombineOperator(InvocationScope scope) {

Review Comment:
   I see. Modified to not pass the scope around



-- 
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-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to