Skip to content

Commit 7c16827

Browse files
committed
update description
1 parent 561e9b9 commit 7c16827

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,11 @@ case class ArrayTransform(
291291
*/
292292
// scalastyle:off line.size.limit
293293
@ExpressionDescription(
294-
usage = """_FUNC_(expr, func) - Sorts the input array in ascending order. The elements of the
295-
input array must be orderable. Null elements will be placed at the end of the returned
296-
array. Since 3.0.0 this function also sorts and returns the array based on the given
297-
comparator function. The comparator will take two arguments
298-
representing two elements of the array.
294+
usage = """_FUNC_(expr, func) - Sorts the input array. If func is omitted, sort
295+
in ascending order. The elements of the input array must be orderable. Null elements
296+
will be placed at the end of the returned. Since 3.0.0 this function also sorts and
297+
and returns the array based on the given comparator function. The comparator will
298+
take two arguments representing two elements of the array.
299299
It returns -1, 0, or 1 as the first element is less than, equal to, or greater
300300
than the second element. If the comparator function returns other
301301
values (including null), the function will fail and raise an error.

0 commit comments

Comments
 (0)