HyukjinKwon commented on a change in pull request #31306:
URL: https://github.com/apache/spark/pull/31306#discussion_r563406913
##########
File path: python/pyspark/sql/functions.py
##########
@@ -2776,6 +2787,40 @@ def regexp_extract(str, pattern, idx):
return Column(jc)
+def regexp_extract_all(str, pattern, idx):
+ r"""Extract all matches of the given group in a regex, from the specified
string column.
+ If the regex did not match, or the specified group did not match, an empty
array is returned.
+
+ .. versionadded:: 3.1.0
Review comment:
Let's target 3.2.0
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]