Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/15677#discussion_r86062169
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala
---
@@ -109,8 +121,12 @@ case class MapValues(child: Expression)
*/
// scalastyle:off line.size.limit
@ExpressionDescription(
- usage = "_FUNC_(array(obj1, obj2, ...), ascendingOrder) - Sorts the
input array in ascending order according to the natural ordering of the array
elements.",
- extended = " > SELECT _FUNC_(array('b', 'd', 'c', 'a'), true);\n 'a',
'b', 'c', 'd'")
+ usage = "_FUNC_(array[, ascendingOrder]) - Sorts the input array in
ascending order according to the natural ordering of the array elements.",
--- End diff --
Sorry, do you mean change `_FUNC_(array[, ascendingOrder])` to
`_FUNC_(array(obj1, obj2, ...), ascendingOrder)`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]