Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/21011#discussion_r182333814
--- Diff: python/pyspark/sql/functions.py ---
@@ -1846,6 +1846,27 @@ def array_contains(col, value):
return Column(sc._jvm.functions.array_contains(_to_java_column(col),
value))
+@ignore_unicode_prefix
+@since(2.4)
+def array_join(col, delimiter, null_replacement=None):
+ """
+ Concatenates the elements of `column` using the `delimiter`. Null
values are replaced with
+ `nullReplacement` if set, otherwise they are ignored.
--- End diff --
nit: `null_replacement`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]