Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/7580#discussion_r36039658
--- Diff: python/pyspark/sql/functions.py ---
@@ -850,6 +851,22 @@ def size(col):
return Column(sc._jvm.functions.size(_to_java_column(col)))
+@since(1.5)
+def array_contains(col, value):
+ """
+ Collection function: returns True if the array contains the given
value. The collection
+ elements and value must be of the same type.
+ :param col: name of column containing array
--- End diff --
add a new line before `:param col...`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]