Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
address comment
  • Loading branch information
mgaido91 authored Apr 12, 2018
commit a4fd6165227a148956368c2c8e86c99aac1267b5
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,6 @@ case class ArrayMax(child: Expression) extends UnaryExpression with ImplicitCast
override def nullable: Boolean =
child.nullable || child.dataType.asInstanceOf[ArrayType].containsNull
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should always be true because the array might be empty?


override def foldable: Boolean = child.foldable

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

private lazy val ordering = TypeUtils.getInterpretedOrdering(dataType)
Expand Down