Skip to content

Commit

Permalink
Fixes Scala style
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed Nov 2, 2015
1 parent b658aaa commit 7c17dd1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ private[sql] object DataSourceStrategy extends Strategy with Logging {
val handledSet = {
val handledPredicates = filterPredicates.filterNot(unhandledPredicates.contains)
val unhandledSet = AttributeSet(unhandledPredicates.flatMap(_.references))
AttributeSet(handledPredicates.flatMap(_.references)) -- (projectSet ++ unhandledSet).map(relation.attributeMap)
AttributeSet(handledPredicates.flatMap(_.references)) --
(projectSet ++ unhandledSet).map(relation.attributeMap)
}

// Combines all Catalyst filter `Expression`s that are either not convertible to data source
Expand Down

0 comments on commit 7c17dd1

Please sign in to comment.