Repository: spark Updated Branches: refs/heads/master 3d66a2ce9 -> e4ae97429
[HOTFIX] Fix Scala 2.10 compilation break. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e4ae9742 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e4ae9742 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e4ae9742 Branch: refs/heads/master Commit: e4ae974294fc61f03b235f82d1618f29cad8feee Parents: 3d66a2c Author: Reynold Xin <[email protected]> Authored: Mon Apr 18 12:57:23 2016 -0700 Committer: Reynold Xin <[email protected]> Committed: Mon Apr 18 12:57:23 2016 -0700 ---------------------------------------------------------------------- .../spark/sql/catalyst/expressions/MiscFunctionsSuite.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/e4ae9742/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/MiscFunctionsSuite.scala ---------------------------------------------------------------------- diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/MiscFunctionsSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/MiscFunctionsSuite.scala index 56de822..33916c0 100644 --- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/MiscFunctionsSuite.scala +++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/MiscFunctionsSuite.scala @@ -71,7 +71,7 @@ class MiscFunctionsSuite extends SparkFunSuite with ExpressionEvalHelper { test("assert_true") { intercept[RuntimeException] { - checkEvaluation(AssertTrue(Literal(false, BooleanType)), null) + checkEvaluation(AssertTrue(Literal.create(false, BooleanType)), null) } intercept[RuntimeException] { checkEvaluation(AssertTrue(Cast(Literal(0), BooleanType)), null) @@ -82,7 +82,7 @@ class MiscFunctionsSuite extends SparkFunSuite with ExpressionEvalHelper { intercept[RuntimeException] { checkEvaluation(AssertTrue(Literal.create(null, BooleanType)), null) } - checkEvaluation(AssertTrue(Literal(true, BooleanType)), null) + checkEvaluation(AssertTrue(Literal.create(true, BooleanType)), null) checkEvaluation(AssertTrue(Cast(Literal(1), BooleanType)), null) } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
