Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/22154#discussion_r211443168 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Projection.scala --- @@ -180,7 +180,10 @@ object UnsafeProjection try { GenerateUnsafeProjection.generate(unsafeExprs, subexpressionEliminationEnabled) } catch { - case CodegenError(_) => InterpretedUnsafeProjection.createProjection(unsafeExprs) + case _: Exception => + // We should have already see error message in `CodeGenerator` + logError("Expr codegen disabled and falls back to the interpreter mode") --- End diff -- ditto. `logWarning`.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org