comphead commented on code in PR #3045:
URL: https://github.com/apache/datafusion-comet/pull/3045#discussion_r2665579509


##########
spark/src/test/scala/org/apache/spark/sql/benchmark/CometBenchmarkBase.scala:
##########
@@ -158,6 +163,28 @@ trait CometBenchmarkBase extends SqlBasedBenchmark {
     benchmark.run()
   }
 
+  /**
+   * Finds the first non-Comet operator in the plan, if any. This is used to 
verify that
+   * benchmarks are running fully on Comet native when expected.
+   *
+   * Based on CometTestBase.findFirstNonCometOperator.
+   */
+  protected def findFirstNonCometOperator(plan: SparkPlan): Option[SparkPlan] 
= {

Review Comment:
   should we keep one version for this methods to keep in sync the test 
behavior? 



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