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

    https://github.com/apache/spark/pull/22154#discussion_r211731624
  
    --- 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 =>
    --- End diff --
    
    Oh yeah that's a good point. +1 on using the `NonFatal` extractor, and we 
probably wanna do the same change for whole-stage codegen's fallback logic as 
well.


---

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

Reply via email to