From 857599f2545f7194b76a93489999a8860856a090 Mon Sep 17 00:00:00 2001 From: Reynold Xin Date: Sun, 7 Jun 2015 15:00:51 -0700 Subject: [PATCH] Fixed style violation. --- .../org/apache/spark/sql/catalyst/expressions/CastSuite.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala index eededbfeef4f5..5bc7c30eee1b6 100644 --- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala +++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala @@ -74,7 +74,7 @@ class CastSuite extends SparkFunSuite with ExpressionEvalHelper { checkEvaluation(cast(123L, DecimalType(3, 1)), Decimal(123.0)) // TODO: Fix the following bug and re-enable it. - //checkEvaluation(cast(123L, DecimalType(2, 0)), null) + // checkEvaluation(cast(123L, DecimalType(2, 0)), null) } test("cast from boolean") { @@ -153,7 +153,7 @@ class CastSuite extends SparkFunSuite with ExpressionEvalHelper { DecimalType.Unlimited), LongType), StringType), ShortType), 0.toShort) checkEvaluation( - cast(cast(cast(cast(cast(cast("5", TimestampType),ByteType), + cast(cast(cast(cast(cast(cast("5", TimestampType), ByteType), DecimalType.Unlimited), LongType), StringType), ShortType), null) checkEvaluation(cast(cast(cast(cast(cast(cast("5", DecimalType.Unlimited),