Github user mn-mikke commented on a diff in the pull request:
https://github.com/apache/spark/pull/21258#discussion_r186408382
--- Diff: python/pyspark/sql/functions.py ---
@@ -1798,6 +1798,22 @@ def create_map(*cols):
return Column(jc)
+@ignore_unicode_prefix
+@since(2.4)
+def create_map_fromarray(col1, col2):
+ """Creates a new map from two arrays.
+
+ :param col1: name of column containing a set of keys. All elements
should not be null
--- End diff --
and duplicated?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]