Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21802#discussion_r205703558 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala --- @@ -3545,6 +3545,14 @@ object functions { */ def array_max(e: Column): Column = withExpr { ArrayMax(e.expr) } + /** + * Returns a random permutation of the given array. + * + * @group collection_funcs + * @since 2.4.0 --- End diff -- Shall we match the documentation here as well?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org