Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/22355#discussion_r218042119
--- 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 --
oh.. yes. I'll remove.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]