andygrove commented on code in PR #426:
URL: https://github.com/apache/datafusion-comet/pull/426#discussion_r1600329980


##########
spark/src/test/scala/org/apache/comet/CometCastSuite.scala:
##########
@@ -35,6 +35,9 @@ import org.apache.comet.expressions.{CometCast, Compatible}
 class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper {
   import testImplicits._
 
+  /** Create a data generator using a fixed seed so that tests are 
reproducible */
+  private val gen = new DataGenerator(new Random(42))

Review Comment:
   I suppose we could define it as a `def` rather than a `val` to force a new 
creation each time. WDYT?
   



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