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

    https://github.com/apache/spark/pull/22355#discussion_r218041490
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGeneratorWithInterpretedFallbackSuite.scala
 ---
    @@ -69,11 +85,26 @@ class CodeGeneratorWithInterpretedFallbackSuite extends 
SparkFunSuite with PlanT
       test("codegen failures in the CODEGEN_ONLY mode") {
         val errMsg = intercept[ExecutionException] {
           val input = Seq(BoundReference(0, IntegerType, nullable = true))
    -      val codegenOnly = CodegenObjectFactoryMode.CODEGEN_ONLY.toString
           withSQLConf(SQLConf.CODEGEN_FACTORY_MODE.key -> codegenOnly) {
             FailedCodegenProjection.createObject(input)
           }
    +      val noCodegen = CodegenObjectFactoryMode.NO_CODEGEN.toString
    --- End diff --
    
    unnecessary line?


---

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

Reply via email to