File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,12 @@ trait Predicate extends Expression {
3838}
3939
4040trait 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 ]) =
You can’t perform that action at this time.
0 commit comments