Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/22154#discussion_r211729573
--- 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 seen the error message in
`CodeGenerator`
+ logWarning("Expr codegen error and falling back to interpreter
mode")
--- End diff --
Do we need to include the exception type we captured in the message?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]