Skip to content

Commit

Permalink
fix nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaido91 committed Apr 12, 2018
1 parent d42cdb8 commit fc51766
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ case class ArrayContains(left: Expression, right: Expression)
""", since = "2.4.0")
case class ArrayMin(child: Expression) extends UnaryExpression with ImplicitCastInputTypes {

override def nullable: Boolean =
child.nullable || child.dataType.asInstanceOf[ArrayType].containsNull
override def nullable: Boolean = true

override def inputTypes: Seq[AbstractDataType] = Seq(ArrayType)

Expand Down

0 comments on commit fc51766

Please sign in to comment.