Github user maropu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22154#discussion_r211792988
  
    --- 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 --
    
    + 1 to keep the current message. `CodeGenerator` already has printed many 
infos for errors.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to