We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3868bf5 commit a5fd465Copy full SHA for a5fd465
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkPlan.scala
@@ -373,9 +373,8 @@ abstract class SparkPlan extends QueryPlan[SparkPlan] with Logging with Serializ
373
try {
374
GeneratePredicate.generate(expression, inputSchema)
375
} catch {
376
- case e: JaninoRuntimeException if sqlContext == null || sqlContext.conf.wholeStageFallback =>
377
- genInterpretedPredicate(expression, inputSchema)
378
- case e: CompileException if sqlContext == null || sqlContext.conf.wholeStageFallback =>
+ case e @ (_: JaninoRuntimeException | _: CompileException)
+ if sqlContext == null || sqlContext.conf.wholeStageFallback =>
379
genInterpretedPredicate(expression, inputSchema)
380
}
381
0 commit comments