From 86fac2c6dc7add53b694ccaab6cf676d312a1da8 Mon Sep 17 00:00:00 2001 From: Davies Liu Date: Fri, 5 Jun 2015 13:42:37 -0700 Subject: [PATCH] fix style --- .../org/apache/spark/sql/catalyst/expressions/literals.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala index 86cdc7a6e914f..4f00cb6bec586 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala @@ -94,7 +94,7 @@ case class Literal protected (value: Any, dataType: DataType) extends LeafExpres final boolean ${ev.nullTerm} = false; final float ${ev.primitiveTerm} = ${value}f; """ - case dt: NumericType if !dt.isInstanceOf[DecimalType]=> + case dt: NumericType if !dt.isInstanceOf[DecimalType] => s""" final boolean ${ev.nullTerm} = false; final ${ctx.primitiveType(dataType)} ${ev.primitiveTerm} = $value;