Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20858#discussion_r177008481
--- Diff: python/pyspark/sql/functions.py ---
@@ -1834,6 +1834,25 @@ def array_contains(col, value):
return Column(sc._jvm.functions.array_contains(_to_java_column(col),
value))
+@since(2.4)
+def concat_arrays(*cols):
+ """
+ Collection function: Concatenates multiple arrays into one.
+
+ :param cols: list of column names (string) or list of :class:`Column`
expressions that have
+ the same data type.
--- End diff --
Shall we note `cols` are expected to be array type?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]