WeichenXu123 commented on code in PR #40520:
URL: https://github.com/apache/spark/pull/40520#discussion_r1146259745
##########
python/pyspark/sql/pandas/map_ops.py:
##########
@@ -60,6 +62,7 @@ def mapInPandas(
schema : :class:`pyspark.sql.types.DataType` or str
the return type of the `func` in PySpark. The value can be either a
:class:`pyspark.sql.types.DataType` object or a DDL-formatted type
string.
+ is_barrier : Use barrier mode execution if True.
Examples
--------
Review Comment:
Q2: Do we have barrier mode tests in pyspark side ? So that I can add a
similar one. We need to restrict the total spark worker slots available and
setting a larger number of barrier tasks and assert it raises error.
--
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]