Skip to content

Commit

Permalink
fix tests failure
Browse files Browse the repository at this point in the history
  • Loading branch information
scwf committed May 1, 2015
1 parent b09b895 commit e230155
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ object ColumnPruning extends Rule[LogicalPlan] {

// push down project if possible when the child is sort
case p @ Project(projectList, s @ Sort(order, _, grandChild))
if (s.references -- p.references).size == 0 =>
if (s.references -- p.outputSet).isEmpty =>
s.copy(child = Project(projectList, grandChild))

// Eliminate no-op Projects
Expand Down

0 comments on commit e230155

Please sign in to comment.