We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5472dd commit b482c09Copy full SHA for b482c09
1 file changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala
@@ -163,8 +163,7 @@ object DecimalLiteral {
163
/**
164
* In order to do type checking, use Literal.create() instead of constructor
165
*/
166
-case class Literal protected (value: Any, dataType: DataType)
167
- extends LeafExpression with CodegenFallback {
+case class Literal (value: Any, dataType: DataType) extends LeafExpression with CodegenFallback {
168
169
override def foldable: Boolean = true
170
override def nullable: Boolean = value == null
0 commit comments