dongjoon-hyun commented on a change in pull request #28395:
URL: https://github.com/apache/spark/pull/28395#discussion_r417512584



##########
File path: python/pyspark/rdd.py
##########
@@ -877,6 +877,19 @@ def collect(self):
             sock_info = 
self.ctx._jvm.PythonRDD.collectAndServe(self._jrdd.rdd())
         return list(_load_from_socket(sock_info, self._jrdd_deserializer))
 
+    def collectWithJobGroup(self, groupId, description, 
interruptOnCancel=False):
+        """
+        .. note:: Experimental
+
+        When collect rdd, use this method to specify job group.
+
+        .. versionadded:: 3.0.0

Review comment:
       BTW, we cannot remove this API forever. cc @marmbrus 
   > I will target to deprecate this API in Spark 3.1.




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to