Skip to content

Commit 24739bd

Browse files
committed
Update ConstantFoldingSuite.scala
1 parent f4dbf50 commit 24739bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/ConstantFoldingSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ class ConstantFoldingSuite extends PlanTest {
255255
.select('a)
256256
.where(In(Literal(1), Seq(Literal(1), Literal(2))))
257257

258-
var optimized = Optimize(originalQuery.analyze)
258+
var optimized = Optimize.execute(originalQuery.analyze)
259259

260260
var correctAnswer =
261261
testRelation
@@ -270,7 +270,7 @@ class ConstantFoldingSuite extends PlanTest {
270270
.select('a)
271271
.where(In(Literal(1), Seq(Literal(1), 'a.attr)))
272272

273-
optimized = Optimize(originalQuery.analyze)
273+
optimized = Optimize.execute(originalQuery.analyze)
274274

275275
correctAnswer =
276276
testRelation

0 commit comments

Comments
 (0)