Skip to content

Commit 366b6d9

Browse files
committed
style fixes
1 parent 14560eb commit 366b6d9

File tree

1 file changed

+6
-3
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions

1 file changed

+6
-3
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ trait Predicate extends Expression {
3838
}
3939

4040
trait PredicateHelper {
41-
protected def splitConjunctivePredicates(condition: Expression): Seq[Expression] = condition match {
42-
case And(cond1, cond2) => splitConjunctivePredicates(cond1) ++ splitConjunctivePredicates(cond2)
43-
case other => other :: Nil
41+
protected def splitConjunctivePredicates(condition: Expression): Seq[Expression] = {
42+
condition match {
43+
case And(cond1, cond2) =>
44+
splitConjunctivePredicates(cond1) ++ splitConjunctivePredicates(cond2)
45+
case other => other :: Nil
46+
}
4447
}
4548

4649
private def combineConjunctivePredicates(predicates: Seq[Expression]) =

0 commit comments

Comments
 (0)