mengxr commented on a change in pull request #28395: URL: https://github.com/apache/spark/pull/28395#discussion_r416885587
########## File path: core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala ########## @@ -168,6 +168,23 @@ private[spark] object PythonRDD extends Logging { serveIterator(rdd.collect().iterator, s"serve RDD ${rdd.id}") } + /** + * A helper function to collect an RDD as an iterator, then serve it via socket. + * This method is similar with `PythonRDD.collectAndServe`, but user can specify job group id, + * job description, and interruptOnCancel option. + * + * Note: This method are temporary, might be removed in future. Review comment: Could you use Experimental note? ---------------------------------------------------------------- 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