diff options
author | Reynold Xin <rxin@databricks.com> | 2016-08-18 19:02:32 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-08-18 19:02:32 -0700 |
commit | b482c09fa22c5762a355f95820e4ba3e2517fb77 (patch) | |
tree | 800a0e9c3dff8aebf97cc99860cffe50f2d94a44 /sql/catalyst/src/main | |
parent | f5472dda51b980a726346587257c22873ff708e3 (diff) | |
download | spark-b482c09fa22c5762a355f95820e4ba3e2517fb77.tar.gz spark-b482c09fa22c5762a355f95820e4ba3e2517fb77.tar.bz2 spark-b482c09fa22c5762a355f95820e4ba3e2517fb77.zip |
HOTFIX: compilation broken due to protected ctor.
Diffstat (limited to 'sql/catalyst/src/main')
-rw-r--r-- | sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala | 3 |
1 files changed, 1 insertions, 2 deletions
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 95ed68fbb0..7040008769 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 @@ -163,8 +163,7 @@ object DecimalLiteral { /** * In order to do type checking, use Literal.create() instead of constructor */ -case class Literal protected (value: Any, dataType: DataType) - extends LeafExpression with CodegenFallback { +case class Literal (value: Any, dataType: DataType) extends LeafExpression with CodegenFallback { override def foldable: Boolean = true override def nullable: Boolean = value == null |