Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/21294#discussion_r187380861
--- Diff: R/pkg/R/functions.R ---
@@ -3118,8 +3133,9 @@ setMethod("size",
})
#' @details
-#' \code{sort_array}: Sorts the input array in ascending or descending
order according
-#' to the natural ordering of the array elements.
+#' \code{sort_array}: Sorts the input array in ascending or descending
order according to
+#' the natural ordering of the array elements. Null elements will be
placed at the beginning of
+#' the returned array in ascending order or at the end of the returned
array in descending order.
--- End diff --
nice!
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]