zhengruifeng commented on code in PR #41515:
URL: https://github.com/apache/spark/pull/41515#discussion_r1227480717
##########
python/pyspark/sql/functions.py:
##########
@@ -7596,6 +7721,48 @@ def regexp_extract(str: "ColumnOrName", pattern: str,
idx: int) -> Column:
return _invoke_function("regexp_extract", _to_java_column(str), pattern,
idx)
+@try_remote_functions
+def regexp_extract_all(
+ str: "ColumnOrName", regexp: "ColumnOrName", idx: Optional[Union[int,
Column]] = None
Review Comment:
does it make sense to make `idx` also support column name?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]