Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22755#discussion_r228780582
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala ---
    @@ -166,6 +167,17 @@ private[sql] trait SQLTestUtilsBase
         super.withSQLConf(pairs: _*)(f)
       }
     
    +  /**
    +   * A helper function for turning off/on codegen.
    +   */
    +  protected def withCodegenTurnOffAndOn(f: String => Unit): Unit = {
    --- End diff --
    
    nit: `withWholeStageCodegenOnAndOff`


---

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

Reply via email to