Skip to content

Commit

Permalink
Update FilterPushdownSuite.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pzzs committed Jun 1, 2015
1 parent c529d9f commit f8b9314
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,15 +581,15 @@ class FilterPushdownSuite extends PlanTest {
// push down invalid
val originalQuery1 = {
x.select('a, 'b)
.sortBy(SortOrder('a, Ascending))
.select('b)
.sortBy(SortOrder('a, Ascending))
.select('b)
}

val optimized1 = Optimize.execute(originalQuery1.analyze)
val correctAnswer1 =
x.select('a, 'b)
.sortBy(SortOrder('a, Ascending))
.select('b).analyze
.sortBy(SortOrder('a, Ascending))
.select('b).analyze

comparePlans(optimized1, analysis.EliminateSubQueries(correctAnswer1))
}
Expand Down

0 comments on commit f8b9314

Please sign in to comment.