Github user rednaxelafx commented on a diff in the pull request: https://github.com/apache/spark/pull/22154#discussion_r211485314 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGeneratorWithInterpretedFallbackSuite.scala --- @@ -40,4 +55,13 @@ class CodeGeneratorWithInterpretedFallbackSuite extends SparkFunSuite with PlanT assert(obj.isInstanceOf[InterpretedUnsafeProjection]) } } + + test("fallback to the interpreter mode") { + val input = Seq(IntegerType).zipWithIndex.map(x => BoundReference(x._2, x._1, true)) --- End diff -- Nit: if we only wanted a one-element-sequence, would it be cleaner to just write `Seq(BoundReference(0, IntegerType, true))`? Or for those that prefer the cons list syntax, `BoundReference(0, IntegerType, true) :: Nil`. I prefer the former one but I don't have a strong opinion here.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org