Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/22154#discussion_r211432763
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/CodeGeneratorWithInterpretedFallback.scala
---
@@ -63,7 +49,10 @@ abstract class CodeGeneratorWithInterpretedFallback[IN,
OUT] {
try {
createCodeGeneratedObject(in)
} catch {
- case CodegenError(_) => createInterpretedObject(in)
+ case _: Exception =>
+ // We should have already see error message in `CodeGenerator`
+ logError("Expr codegen disabled and falls back to the
interpreter mode")
--- End diff --
`Expr codegen error and falls back to interpreter mode`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]