Skip to content

Commit

Permalink
Update ConstantFoldingSuite.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pzzs committed May 7, 2015
1 parent f4dbf50 commit 24739bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class ConstantFoldingSuite extends PlanTest {
.select('a)
.where(In(Literal(1), Seq(Literal(1), Literal(2))))

var optimized = Optimize(originalQuery.analyze)
var optimized = Optimize.execute(originalQuery.analyze)

var correctAnswer =
testRelation
Expand All @@ -270,7 +270,7 @@ class ConstantFoldingSuite extends PlanTest {
.select('a)
.where(In(Literal(1), Seq(Literal(1), 'a.attr)))

optimized = Optimize(originalQuery.analyze)
optimized = Optimize.execute(originalQuery.analyze)

correctAnswer =
testRelation
Expand Down

0 comments on commit 24739bd

Please sign in to comment.