Skip to content
Closed
Prev Previous commit
Next Next commit
Code sytle modification
  • Loading branch information
wangshuo128 committed Sep 27, 2019
commit a8cb828d8c247ea2281c022083306319c7804b0d
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,7 @@ case class FilterExec(condition: Expression, child: SparkPlan)
// This is very perf sensitive.
// TODO: revisit this. We can consider reordering predicates as well.
val generatedIsNotNullChecks = new Array[Boolean](notNullPreds.length)

val extraIsNotNullAttrs = mutable.Set[Attribute]()

val generated = otherPreds.map { c =>
val nullChecks = c.references.map { r =>
val idx = notNullPreds.indexWhere { n => n.asInstanceOf[IsNotNull].child.semanticEquals(r)}
Expand Down