Skip to content

Commit a4fd616

Browse files
authored
address comment
1 parent e082f00 commit a4fd616

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,6 @@ case class ArrayMax(child: Expression) extends UnaryExpression with ImplicitCast
304304
override def nullable: Boolean =
305305
child.nullable || child.dataType.asInstanceOf[ArrayType].containsNull
306306

307-
override def foldable: Boolean = child.foldable
308-
309307
override def inputTypes: Seq[AbstractDataType] = Seq(ArrayType)
310308

311309
private lazy val ordering = TypeUtils.getInterpretedOrdering(dataType)

0 commit comments

Comments
 (0)