Skip to content

Commit

Permalink
more enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed Jul 21, 2015
1 parent 949be07 commit 2cab68c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ class FilterPushdownSuite extends PlanTest {
test("nondeterministic: push down filter through project") {
val originalQuery = testRelation
.select(Rand(10).as('rand), 'a)
.where('a > 5)
.where('a > 5 && 'a < 10)
.analyze

val optimized = Optimize.execute(originalQuery)
val correctAnswer = testRelation
.where('a > 5)
.where('a > 5 && 'a < 10)
.select(Rand(10).as('rand), 'a)
.analyze

Expand Down

0 comments on commit 2cab68c

Please sign in to comment.