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 a04ffae commit ae3af6d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,14 @@ class FilterPushdownSuite extends PlanTest {

comparePlans(optimized, correctAnswer)
}

test("joins: push to one side after transformCondition") {
val x = testRelation.subquery('x)
val y = testRelation1.subquery('y)

val originalQuery = {
x.join(y, Inner)
.where(("x.a".attr === 1 && "y.d".attr === "x.b".attr) ||
.where(("x.a".attr === 1 && "y.d".attr === "x.b".attr) ||
("x.a".attr === 1 && "y.d".attr === "x.c".attr))
}

Expand Down

0 comments on commit ae3af6d

Please sign in to comment.