Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/21294#discussion_r187470081
--- Diff: R/pkg/R/functions.R ---
@@ -208,6 +208,7 @@ NULL
#' head(select(tmp, array_contains(tmp$v1, 21), size(tmp$v1)))
#' head(select(tmp, array_max(tmp$v1), array_min(tmp$v1)))
#' head(select(tmp, array_position(tmp$v1, 21)))
+#' head(select(tmp, array_sort(tmp$v1)))
--- End diff --
nit: don't need separate line for each example, let's merge this with
array_position?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]