Skip to content

Commit 32683c4

Browse files
committed
Fix compilation failure due to merge.
1 parent 7c77fda commit 32683c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/HiveTypeCoercionSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ class HiveTypeCoercionSuite extends FunSuite {
8888
}
8989

9090
test("boolean casts") {
91+
val booleanCasts = new HiveTypeCoercion { }.BooleanCasts
9192
def ruleTest(initial: Expression, transformed: Expression) {
9293
val testRelation = LocalRelation(AttributeReference("a", IntegerType)())
93-
assert(BooleanCasts(Project(Seq(Alias(initial, "a")()), testRelation)) ==
94+
assert(booleanCasts(Project(Seq(Alias(initial, "a")()), testRelation)) ==
9495
Project(Seq(Alias(transformed, "a")()), testRelation))
9596
}
9697
// Remove superflous boolean -> boolean casts.

0 commit comments

Comments
 (0)