parthchandra commented on issue #1576:
URL: 
https://github.com/apache/datafusion-comet/issues/1576#issuecomment-2767719365

   > [@andygrove](https://github.com/andygrove) sorry for the confusion here, 
my cluster is on Spark 3.5.0, and Comet 0.7.0 prebuilt JAR did not work on it
   > 
   > [@parthchandra](https://github.com/parthchandra) can you elaborate? Is 
there a opportunity to fix this through config?
   
   Spark has something like this - 
   ```
     /**
      * Indicates whether Spark is currently running unit tests.
      */
     def isTesting: Boolean = {
       // Scala's `sys.env` creates a ton of garbage by constructing Scala 
immutable maps, so
       // we directly use the Java APIs instead.
       System.getenv("SPARK_TESTING") != null || 
System.getProperty(IS_TESTING.key) != null
     }
   
   ```
   which is then used to enable some configurations by default when in unit 
tests. We could do the same.


-- 
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: github-unsubscr...@datafusion.apache.org

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


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

Reply via email to